Merge pull request #111 from ifupdown-ng/feature/deprecate-brctl

vlan aware bridging
This commit is contained in:
Ariadne Conill 2020-10-22 13:42:00 -08:00 committed by GitHub
commit 19a5a671eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 471 additions and 36 deletions

View file

@ -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++;