]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
change of rtnetlink to use RTN_F_OFFLOAD
authorStephen Hemminger <shemming@brocade.com>
Thu, 28 May 2015 01:29:02 +0000 (18:29 -0700)
committerStephen Hemminger <shemming@brocade.com>
Thu, 28 May 2015 01:29:02 +0000 (18:29 -0700)
The definition of offload flag changed during 4.1 rc process.

ip/iproute.c

index 64bc4c33ae00a1a43ebbb9863d6cdc2dd8aa7d2e..fba475f6531443bdde3d46ecd898ef372c25d984 100644 (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 ");