diff options
Diffstat (limited to 'src/conntrack/snprintf_xml.c')
-rw-r--r-- | src/conntrack/snprintf_xml.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conntrack/snprintf_xml.c b/src/conntrack/snprintf_xml.c index 5f5b6bb..1415e0d 100644 --- a/src/conntrack/snprintf_xml.c +++ b/src/conntrack/snprintf_xml.c @@ -55,6 +55,7 @@ static char *proto2str[IPPROTO_MAX] = { [IPPROTO_TCP] = "tcp", [IPPROTO_UDP] = "udp", + [IPPROTO_UDPLITE] = "udplite", [IPPROTO_ICMP] = "icmp", [IPPROTO_SCTP] = "sctp" }; @@ -162,6 +163,7 @@ static int __snprintf_proto_xml(char *buf, switch(tuple->protonum) { case IPPROTO_TCP: case IPPROTO_UDP: + case IPPROTO_UDPLITE: case IPPROTO_SCTP: if (type == __ADDR_SRC) { ret = snprintf(buf, len, "<sport>%u</sport>", |