]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iproute2: Fix typo in get_prefix_1()
authorThomas Graf <tgraf@suug.ch>
Tue, 5 May 2015 00:14:16 +0000 (02:14 +0200)
committerStephen Hemminger <shemming@brocade.com>
Mon, 11 May 2015 16:11:53 +0000 (09:11 -0700)
commitf7dd7e5e713d5820da2ad5cbd3fa88286e20d4f1
tree7a9c20907891f08a57908674bf97e1d921b8761e
parent906cafe3ff7a3e285e59f95e7b58c91610d5d16f
iproute2: Fix typo in get_prefix_1()

Fixes a typo in get_prefix_1() which broke the prefix default
names { default | any | all }.

The most obvious fallout from this bug was:

$ ip route add default via 1.1.1.1
Error: an inet prefix is expected rather than "default".

Fixes: dacc5d4197c1 ("add basic mpls support to iproute")
Signed-off-by: Thomas Graf <tgraf@suug.ch>
lib/utils.c