diff options
author | Tobias Jungel <Tobias.Jungel@gmail.com> | 2017-05-29 17:20:01 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-05-29 17:20:01 +0200 |
commit | 0d6c68eba3188c3fea9731ba0828f04416ab7c04 (patch) | |
tree | 448fcb3f27feb6cc44b840a6834b4b9544ffb7c9 /src/shared/vlan-util.h | |
parent | defdbbb6dc62b7985072bfb68e7f8ef3f4c75246 (diff) | |
download | systemd-0d6c68eba3188c3fea9731ba0828f04416ab7c04.tar.gz |
network: bridge vlan without PVID (#5899)
this patch makes it possible to configure a vlan aware bridge without the
PVID. To configure no PVID set DefaultPVID=none in the [BridgeVLAN] section.
fixes #5716
Diffstat (limited to 'src/shared/vlan-util.h')
-rw-r--r-- | src/shared/vlan-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/vlan-util.h b/src/shared/vlan-util.h index ce6763b3a3..365ed14d88 100644 --- a/src/shared/vlan-util.h +++ b/src/shared/vlan-util.h @@ -32,4 +32,5 @@ static inline bool vlanid_is_valid(uint16_t id) { int parse_vlanid(const char *p, uint16_t *ret); +int config_parse_default_port_vlanid(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_vlanid(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); |