dhcp for dual tor: include all vlan intf into downstream intf (#6990)
* include all vlan intf into downstream intf * add a comment
This commit is contained in:
parent
f6fb72b7b6
commit
4e4f76c7ce
@ -238,7 +238,7 @@ index e158efe..055d97f 100644
|
||||
(flags & INTERFACE_UPSTREAM ? 'Y' : 'N'),
|
||||
(flags & INTERFACE_DOWNSTREAM ? 'Y' : 'N'));
|
||||
|
||||
+ if (flags & INTERFACE_DOWNSTREAM) {
|
||||
+ if (flags & INTERFACE_DOWNSTREAM || flags & INTERFACE_UPSTREAM) { /* include all vlan intf in downstream_intf_list */
|
||||
+ ci = ((struct downstream_intf_list *)dmalloc(sizeof *ci, MDL));
|
||||
+ if (!ci)
|
||||
+ log_fatal("no memory for downstream interface pointer.\n");
|
||||
|
Loading…
Reference in New Issue
Block a user