]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iproute2: treat gre key as number
authorTimo Teräs <timo.teras@iki.fi>
Tue, 23 Nov 2010 22:18:57 +0000 (22:18 +0000)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Tue, 30 Nov 2010 17:52:32 +0000 (09:52 -0800)
commit6f4f7c464ad4121582594f03163c2b5f324d4b4b
treef100b92c576225d3a0f867cab090d5b7541cd58c
parentbe3c4d4f3c14875e459d27b8b095e29af8591489
iproute2: treat gre key as number

Print GRE key as a regular number. It is not really an IPv4 address
and this is also how Cisco and Juniper treats GRE keys. Do keep the
parsing of dotted-quad format for backwards compatibility.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
ip/iptunnel.c