summaryrefslogtreecommitdiff
path: root/proto_udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto_udp.c')
-rw-r--r--proto_udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto_udp.c b/proto_udp.c
index b55dd2e..f607b14 100644
--- a/proto_udp.c
+++ b/proto_udp.c
@@ -25,7 +25,7 @@ static void udp(struct pkt_buff *pkt)
struct udphdr *udp = (struct udphdr *) pkt_pull(pkt, sizeof(*udp));
ssize_t len;
uint16_t src, dest;
- char *src_name, *dest_name;
+ const char *src_name, *dest_name;
if (udp == NULL)
return;
@@ -61,7 +61,7 @@ static void udp_less(struct pkt_buff *pkt)
{
struct udphdr *udp = (struct udphdr *) pkt_pull(pkt, sizeof(*udp));
uint16_t src, dest;
- char *src_name, *dest_name;
+ const char *src_name, *dest_name;
if (udp == NULL)
return;