From c52827e9077f781f4d5f52f0c0aa67b59151e187 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 27 May 2015 18:29:02 -0700 Subject: [PATCH] change of rtnetlink to use RTN_F_OFFLOAD The definition of offload flag changed during 4.1 rc process. --- ip/iproute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ip/iproute.c b/ip/iproute.c index 64bc4c33..fba475f6 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 ");