• Thomas Graf's avatar
    iproute2: Fix typo in get_prefix_1() · f7dd7e5e
    Thomas Graf authored
    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: dacc5d41 ("add basic mpls support to iproute")
    Signed-off-by: default avatarThomas Graf <tgraf@suug.ch>
    f7dd7e5e
utils.c 18.4 KB