summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9c704e9)
struct nlmsgerr *rte;
struct rtcanmsg *rtc;
struct rtattr *rta;
struct nlmsgerr *rte;
struct rtcanmsg *rtc;
struct rtattr *rta;
- __u32 handled = 0;
- __u32 dropped = 0;
+ __u32 handled, dropped;
printf("-t ");
/* check for attributes */
printf("-t ");
/* check for attributes */
+
+ handled = 0;
+ dropped = 0;
+
rta = (struct rtattr *) RTM_RTA(rtc);
rtlen = RTM_PAYLOAD(nlh);
for(;RTA_OK(rta, rtlen);rta=RTA_NEXT(rta,rtlen))
rta = (struct rtattr *) RTM_RTA(rtc);
rtlen = RTM_PAYLOAD(nlh);
for(;RTA_OK(rta, rtlen);rta=RTA_NEXT(rta,rtlen))