summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasso <hasso>2004-03-04 19:20:44 +0000
committerhasso <hasso>2004-03-04 19:20:44 +0000
commit5707ccee87f1ed0917cc3a9d10119d6ba2ffe639 (patch)
tree7c85691f2b31b48c8d0673f363d35d1681a73b64
parentfa2b17e39499a77f41a719035a588b7fb63cec63 (diff)
Fix warning. Approved by Amir.
-rw-r--r--zebra/rt_netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c
index 9b13bca4..e50f12f7 100644
--- a/zebra/rt_netlink.c
+++ b/zebra/rt_netlink.c
@@ -543,7 +543,7 @@ netlink_interface_addr (struct sockaddr_nl *snl, struct nlmsghdr *h)
[IFA_BROADCAST]),
buf, BUFSIZ));
if (tb[IFA_LABEL] && strcmp (ifp->name, RTA_DATA (tb[IFA_LABEL])))
- zlog_info (" IFA_LABEL %s", RTA_DATA (tb[IFA_LABEL]));
+ zlog_info (" IFA_LABEL %s", (char *)RTA_DATA (tb[IFA_LABEL]));
}
if (tb[IFA_ADDRESS] == NULL)