From: Stephen Hemminger Date: Thu, 28 May 2015 01:29:02 +0000 (-0700) Subject: change of rtnetlink to use RTN_F_OFFLOAD X-Git-Tag: v4.1.0~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c52827e9077f781f4d5f52f0c0aa67b59151e187;p=thirdparty%2Fiproute2.git change of rtnetlink to use RTN_F_OFFLOAD The definition of offload flag changed during 4.1 rc process. --- diff --git a/ip/iproute.c b/ip/iproute.c index 64bc4c33a..fba475f65 100644 --- a/ip/iproute.c +++ b/ip/iproute.c @@ -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 ");