Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/networking/libiproute/ipaddress.c

    r2725 r3232  
    163163    }
    164164#endif
     165/* IFLA_OPERSTATE was added to kernel with the same commit as IFF_DORMANT */
     166#ifdef IFF_DORMANT
    165167    if (tb[IFLA_OPERSTATE]) {
    166168        static const char operstate_labels[] ALIGN1 =
     
    170172                    *(uint8_t *)RTA_DATA(tb[IFLA_OPERSTATE])));
    171173    }
     174#endif
    172175    if (G_filter.showqueue)
    173176        print_queuelen((char*)RTA_DATA(tb[IFLA_IFNAME]));
     
    312315        printf("brd %s ",
    313316            rt_addr_n2a(ifa->ifa_family,
    314                     RTA_DATA(rta_tb[IFA_BROADCAST]),
    315                     abuf, sizeof(abuf)));
     317                    RTA_DATA(rta_tb[IFA_BROADCAST]),
     318                    abuf, sizeof(abuf))
     319        );
    316320    }
    317321    if (rta_tb[IFA_ANYCAST]) {
    318322        printf("any %s ",
    319323            rt_addr_n2a(ifa->ifa_family,
    320                     RTA_DATA(rta_tb[IFA_ANYCAST]),
    321                     abuf, sizeof(abuf)));
     324                    RTA_DATA(rta_tb[IFA_ANYCAST]),
     325                    abuf, sizeof(abuf))
     326        );
    322327    }
    323328    printf("scope %s ", rtnl_rtscope_n2a(ifa->ifa_scope, b1));
Note: See TracChangeset for help on using the changeset viewer.