Merge pull request #111 from ifupdown-ng/feature/deprecate-brctl
vlan aware bridging
This commit is contained in:
commit
19a5a671eb
14 changed files with 471 additions and 36 deletions
|
|
@ -206,6 +206,10 @@ handle_generic(struct lif_interface_file_parse_state *state, char *token, char *
|
|||
|
||||
token = maybe_remap_token(token);
|
||||
|
||||
/* This smells like a bridge */
|
||||
if (strcmp(token, "bridge-ports") == 0)
|
||||
state->cur_iface->is_bridge = true;
|
||||
|
||||
/* Skip any leading whitespaces in value for <token> */
|
||||
while (isspace (*bufp))
|
||||
bufp++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue