summaryrefslogtreecommitdiff
path: root/src/shared/conf-parser.c
diff options
context:
space:
mode:
authorTobias Jungel <Tobias.Jungel@gmail.com>2016-08-31 20:06:23 +0200
committerLennart Poettering <lennart@poettering.net>2016-08-31 20:06:23 +0200
commitc7440e7401461a4bc668f5dae5b1861ed26b85dd (patch)
tree0010fc972a68248535c280a6ab3ff3c290fc1e6d /src/shared/conf-parser.c
parent83bf26ed022ad79e977cd5374e2922cab7b315bb (diff)
networkd: add options to bridge (#4051)
This patch allows to configure AgeingTimeSec, Priority and DefaultPVID for bridge interfaces.
Diffstat (limited to 'src/shared/conf-parser.c')
-rw-r--r--src/shared/conf-parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c
index 7cf222e4d2..f31d219418 100644
--- a/src/shared/conf-parser.c
+++ b/src/shared/conf-parser.c
@@ -460,6 +460,7 @@ int config_parse_many(const char *conf_file,
DEFINE_PARSER(int, int, safe_atoi);
DEFINE_PARSER(long, long, safe_atoli);
+DEFINE_PARSER(uint16, uint16_t, safe_atou16);
DEFINE_PARSER(uint32, uint32_t, safe_atou32);
DEFINE_PARSER(uint64, uint64_t, safe_atou64);
DEFINE_PARSER(unsigned, unsigned, safe_atou);