summaryrefslogtreecommitdiffstats
path: root/src/shared/ip-protocol-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/ip-protocol-list.c')
-rw-r--r--src/shared/ip-protocol-list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/ip-protocol-list.c b/src/shared/ip-protocol-list.c
index 14155b679a..923d60abba 100644
--- a/src/shared/ip-protocol-list.c
+++ b/src/shared/ip-protocol-list.c
@@ -14,7 +14,7 @@ static const struct ip_protocol_name* lookup_ip_protocol(register const char *st
#include "ip-protocol-from-name.h"
#include "ip-protocol-to-name.h"
-const char *ip_protocol_to_name(int id) {
+const char* ip_protocol_to_name(int id) {
if (id < 0)
return NULL;
@@ -73,7 +73,7 @@ int parse_ip_protocol_full(const char *s, bool relaxed) {
return p;
}
-const char *ip_protocol_to_tcp_udp(int id) {
+const char* ip_protocol_to_tcp_udp(int id) {
return IN_SET(id, IPPROTO_TCP, IPPROTO_UDP) ?
ip_protocol_to_name(id) : NULL;
}