From fce954f8de1456dd62d26b52902a4a352ef17a93 Mon Sep 17 00:00:00 2001 From: hasso Date: Thu, 7 Oct 2004 20:29:24 +0000 Subject: Fix warnings. Didn't even look at files not compiled in Linux though. --- zebra/rt_netlink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zebra/rt_netlink.c') diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index cb69187c..ee61cb27 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -47,7 +47,7 @@ struct nlsock int sock; int seq; struct sockaddr_nl snl; - char *name; + const char *name; } netlink = { -1, 0, {0}, "netlink-listen"}, /* kernel messages */ netlink_cmd = { -1, 0, {0}, "netlink-cmd"}, /* command channel */ netlink_addr = { -1, 0, {0}, "netlink-addr"}; /* address channel */ @@ -65,7 +65,7 @@ struct message nlmsg_str[] = { {0, NULL} }; -char *nexthop_types_desc[] = +const char *nexthop_types_desc[] = { "none", "Directly connected", -- cgit v1.2.1