change of rtnetlink to use RTN_F_OFFLOAD
The definition of offload flag changed during 4.1 rc process.
This commit is contained in:
parent
ebfe49224b
commit
c52827e907
|
|
@ -447,7 +447,7 @@ int print_route(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
|
|||
fprintf(fp, "onlink ");
|
||||
if (r->rtm_flags & RTNH_F_PERVASIVE)
|
||||
fprintf(fp, "pervasive ");
|
||||
if (r->rtm_flags & RTNH_F_EXTERNAL)
|
||||
if (r->rtm_flags & RTNH_F_OFFLOAD)
|
||||
fprintf(fp, "offload ");
|
||||
if (r->rtm_flags & RTM_F_NOTIFY)
|
||||
fprintf(fp, "notify ");
|
||||
|
|
|
|||
Loading…
Reference in New Issue