From 48493306d27a1e2f7750228a37c32e892ffbb310 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 16 Nov 2015 09:07:54 +0100 Subject: lookup: Return const char * from all lookup functions Signed-off-by: Tobias Klauser --- proto_ethernet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto_ethernet.c') diff --git a/proto_ethernet.c b/proto_ethernet.c index 47730fc..9bb0042 100644 --- a/proto_ethernet.c +++ b/proto_ethernet.c @@ -40,7 +40,7 @@ static const char *ether_lookup_addr(const uint8_t *mac) static void ethernet(struct pkt_buff *pkt) { - char *type; + const char *type; uint8_t *src_mac, *dst_mac; struct ethhdr *eth = (struct ethhdr *) pkt_pull(pkt, sizeof(*eth)); -- cgit v1.2.3-54-g00ecf