diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-06-09 18:55:16 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-06-09 18:55:16 +0200 |
commit | 267fabd2ab3c05e9899e4f238ac090b0d3943739 (patch) | |
tree | 2c43dea04dc30a6b30a360d504a1724d56a7203b /Makefile.am | |
parent | 41a92c35c7c0119ef086b7d4b6d7370a638a3d7c (diff) |
networkd: clean up vlan handling a bit (#3478)
Let's add a generic parser for VLAN ids, which should become handy as
preparation for PR #3428. Let's also make sure we use uint16_t for the vlan ID
type everywhere, and that validity checks are already applied at the time of
parsing, and not only whne we about to prepare a netdev.
Also, establish a common definition VLANID_INVALID we can use for
non-initialized VLAN id fields.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 9a34c686d5..d233614403 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1042,6 +1042,8 @@ libshared_la_SOURCES = \ src/shared/resolve-util.h \ src/shared/bus-unit-util.c \ src/shared/bus-unit-util.h \ + src/shared/vlan-util.h \ + src/shared/vlan-util.c \ src/shared/tests.h \ src/shared/tests.c |