change of rtnetlink to use RTN_F_OFFLOAD

The definition of offload flag changed during 4.1 rc process.
This commit is contained in:
Stephen Hemminger 2015-05-27 18:29:02 -07:00
parent ebfe49224b
commit c52827e907
1 changed files with 1 additions and 1 deletions

View File

@ -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 ");