summaryrefslogtreecommitdiff
path: root/proto_arp.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-11-16 09:07:54 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-11-16 09:07:54 +0100
commit48493306d27a1e2f7750228a37c32e892ffbb310 (patch)
treead05f41259f07f695498c83e14aad95c6ab7c97c /proto_arp.c
parent3d84a7208988ad641599271d5bfde078c2fc9b4c (diff)
lookup: Return const char * from all lookup functions
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_arp.c')
-rw-r--r--proto_arp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_arp.c b/proto_arp.c
index ba52a0b..9121223 100644
--- a/proto_arp.c
+++ b/proto_arp.c
@@ -45,7 +45,7 @@ struct arphdr {
static void arp(struct pkt_buff *pkt)
{
char *hrd;
- char *pro;
+ const char *pro;
char *opcode;
struct arphdr *arp = (struct arphdr *) pkt_pull(pkt, sizeof(*arp));