diff options
author | hasso <hasso> | 2004-10-07 20:29:24 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-10-07 20:29:24 +0000 |
commit | fce954f8de1456dd62d26b52902a4a352ef17a93 (patch) | |
tree | 3dee77fa141697940a9ff3203ea453e454e88d95 /zebra/rt_netlink.c | |
parent | 1cd80845dc5262ff7d3d38deb1921f0b8390f4df (diff) |
Fix warnings. Didn't even look at files not compiled in Linux though.
Diffstat (limited to 'zebra/rt_netlink.c')
-rw-r--r-- | zebra/rt_netlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
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", |