diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-11-29 15:58:43 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-12-02 05:48:27 +0100 |
commit | da96ad5ae2bf3e9fd94d145c4b75fdf54a214350 (patch) | |
tree | 0c8be8c1b1c3bb562cc7fedaabb8d2e4b2b9fee5 /src/core/socket.c | |
parent | 5dd9527883e0aa8705cf81448bc4bdb0456382fb (diff) | |
download | systemd-da96ad5ae2bf3e9fd94d145c4b75fdf54a214350.tar.gz |
util: rename socket_protocol_{from,to}_name() to ip_protocol_{from,to}_name()
Diffstat (limited to 'src/core/socket.c')
-rw-r--r-- | src/core/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/socket.c b/src/core/socket.c index f725c9eb00..ba48a25641 100644 --- a/src/core/socket.c +++ b/src/core/socket.c @@ -24,6 +24,7 @@ #include "fs-util.h" #include "in-addr-util.h" #include "io-util.h" +#include "ip-protocol-list.h" #include "label.h" #include "log.h" #include "missing.h" @@ -35,7 +36,6 @@ #include "serialize.h" #include "signal-util.h" #include "smack-util.h" -#include "socket-protocol-list.h" #include "socket.h" #include "special.h" #include "string-table.h" @@ -814,7 +814,7 @@ static void socket_dump(Unit *u, FILE *f, const char *prefix) { prefix, format_timespan(time_string, FORMAT_TIMESPAN_MAX, s->trigger_limit.interval, USEC_PER_SEC), prefix, s->trigger_limit.burst); - str = socket_protocol_to_name(s->socket_protocol); + str = ip_protocol_to_name(s->socket_protocol); if (str) fprintf(f, "%sSocketProtocol: %s\n", prefix, str); |