summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/printpkt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/printpkt.c b/util/printpkt.c
index b62eed8..cc027b1 100644
--- a/util/printpkt.c
+++ b/util/printpkt.c
@@ -108,7 +108,7 @@ static int printpkt_proto(struct ulogd_key *res, char *buf, int protocol)
switch (protocol) {
case IPPROTO_TCP:
- buf_cur += sprintf(buf_cur, "PROTO=KEY_TCP ");
+ buf_cur += sprintf(buf_cur, "PROTO=TCP ");
if (!pp_is_valid(res, KEY_TCP_SPORT)) {
buf_cur += sprintf(buf_cur, "INCOMPLETE");
@@ -152,7 +152,7 @@ static int printpkt_proto(struct ulogd_key *res, char *buf, int protocol)
break;
case IPPROTO_UDP:
- buf_cur += sprintf(buf_cur, "PROTO=KEY_UDP ");
+ buf_cur += sprintf(buf_cur, "PROTO=UDP ");
if (!pp_is_valid(res, KEY_UDP_SPORT)) {
buf_cur += sprintf(buf_cur, "INCOMPLETE");