diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-29 05:40:28 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-31 04:09:41 +0200 |
commit | b54e98ef8e627e0352ac137e57213cc219c231d7 (patch) | |
tree | ffff6d222f98c5be36aa4654abee1c18756b545b /src/basic/socket-util.c | |
parent | conf-parser: introduce DEFINE_CONFIG_PARSE*() macros (diff) | |
download | systemd-b54e98ef8e627e0352ac137e57213cc219c231d7.tar.xz systemd-b54e98ef8e627e0352ac137e57213cc219c231d7.zip |
socket-util: rename parse_socket_address_bind_ipv6_only_or_bool() to socket_address_bind_ipv6_only_or_bool_from_string()
Hence, we can define config_parse_socket_bind() by using
DEFINE_CONFIG_PARSE_ENUM() macro.
Diffstat (limited to 'src/basic/socket-util.c')
-rw-r--r-- | src/basic/socket-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/socket-util.c b/src/basic/socket-util.c index 95a79f7b53..508f6a26f7 100644 --- a/src/basic/socket-util.c +++ b/src/basic/socket-util.c @@ -790,7 +790,7 @@ static const char* const socket_address_bind_ipv6_only_table[_SOCKET_ADDRESS_BIN DEFINE_STRING_TABLE_LOOKUP(socket_address_bind_ipv6_only, SocketAddressBindIPv6Only); -SocketAddressBindIPv6Only parse_socket_address_bind_ipv6_only_or_bool(const char *n) { +SocketAddressBindIPv6Only socket_address_bind_ipv6_only_or_bool_from_string(const char *n) { int r; r = parse_boolean(n); |