On Thu, 2015-09-17 at 15:27 -0400, John W. Linville wrote: > Signed-off-by: John W. Linville <linvi...@tuxdriver.com> > ---
> } > > @@ -150,6 +159,10 @@ static void geneve_print_opt(struct link_util *lu, FILE > *f, struct rtattr *tb[]) > else > fprintf(f, "tos %#x ", tos); > } > + > + if (tb[IFLA_GENEVE_PORT]) > + fprintf(f, "dstport %u ", > + ntohs(rta_getattr_u16(tb[IFLA_GENEVE_PORT]))); This looks strange. Kernel does : if (nla_put_u16(skb, IFLA_GENEVE_PORT, ntohs(geneve->dst_port))) goto nla_put_failure; -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html