aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/ipaddress.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/ipaddress.c')
-rw-r--r--networking/libiproute/ipaddress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c
index 39af88324..86d27548b 100644
--- a/networking/libiproute/ipaddress.c
+++ b/networking/libiproute/ipaddress.c
@@ -162,7 +162,7 @@ static NOINLINE int print_linkinfo(const struct nlmsghdr *n)
162 162
163 if (!filter.family || filter.family == AF_PACKET) { 163 if (!filter.family || filter.family == AF_PACKET) {
164 SPRINT_BUF(b1); 164 SPRINT_BUF(b1);
165 printf("%c link/%s ", _SL_, ll_type_n2a(ifi->ifi_type, b1, sizeof(b1))); 165 printf("%c link/%s ", _SL_, ll_type_n2a(ifi->ifi_type, b1));
166 166
167 if (tb[IFLA_ADDRESS]) { 167 if (tb[IFLA_ADDRESS]) {
168 fputs(ll_addr_n2a(RTA_DATA(tb[IFLA_ADDRESS]), 168 fputs(ll_addr_n2a(RTA_DATA(tb[IFLA_ADDRESS]),
@@ -308,7 +308,7 @@ static int FAST_FUNC print_addrinfo(const struct sockaddr_nl *who UNUSED_PARAM,
308 RTA_DATA(rta_tb[IFA_ANYCAST]), 308 RTA_DATA(rta_tb[IFA_ANYCAST]),
309 abuf, sizeof(abuf))); 309 abuf, sizeof(abuf)));
310 } 310 }
311 printf("scope %s ", rtnl_rtscope_n2a(ifa->ifa_scope, b1, sizeof(b1))); 311 printf("scope %s ", rtnl_rtscope_n2a(ifa->ifa_scope, b1));
312 if (ifa->ifa_flags & IFA_F_SECONDARY) { 312 if (ifa->ifa_flags & IFA_F_SECONDARY) {
313 ifa->ifa_flags &= ~IFA_F_SECONDARY; 313 ifa->ifa_flags &= ~IFA_F_SECONDARY;
314 printf("secondary "); 314 printf("secondary ");