]> git.ipfire.org Git - thirdparty/systemd.git/commit
conf-parse: add a generic config_parse_mtu() conf file parser function
authorLennart Poettering <lennart@poettering.net>
Fri, 20 Apr 2018 14:31:17 +0000 (16:31 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 26 Apr 2018 11:51:44 +0000 (13:51 +0200)
commit79138a384f0c6a0d47cf97cf5a917f32ec4a9ba9
tree83f8cd731a9ee640e20eda89ea203dac5dcd9516
parentf91c6093efba5738436adb41aa4b6d0abc66cdc9
conf-parse: add a generic config_parse_mtu() conf file parser function

It's mostly a wrapper around parse_mtu() but with some nicer logging.

The address family is initialized from the "ltype" parameter, so that
configuration file parser tables can be easily declare it.
src/shared/conf-parser.c
src/shared/conf-parser.h