iproute2/ip
Varun Chandramohan 6579feeac4 Display Correct Error For Addrlabel Info
The command "ip addrlabel add/del" displays incorrect error message when provided with insufficient inputs. This patch fixes it in par with "ip addr add/del".

Currently:
# ./ip addrlabel add
RTNETLINK answers: Numerical result out of range

# ./ip addr add
Not enough information: "dev" argument is required.

After patch:
# ./ip addrlabel add
Not enough information: "prefix" argument is required.

Signed-off-by: Varun Chandramohan <varunc@linux.vnet.ibm.com>
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
2008-07-25 13:36:25 -07:00
..
.gitignore Another .gitignore file. 2006-08-08 12:11:23 -07:00
Makefile Do not strip binaries with `install` 2008-04-01 11:26:47 -07:00
ifcfg Remove trailing whitespace 2006-12-05 10:10:22 -08:00
ip.c Add addrlabel sub-command. 2008-02-13 12:36:57 -08:00
ip6tunnel.c Add more aliases for tunnel subcommand. 2008-04-01 11:25:46 -07:00
ip_common.h get rid of warning from misnamed prototype 2008-02-18 10:59:22 -08:00
ipaddress.c Avoid infinite loop in ip addr flush. 2008-04-23 10:56:05 -07:00
ipaddrlabel.c Display Correct Error For Addrlabel Info 2008-07-25 13:36:25 -07:00
iplink.c iproute2: add support for IFLA_NET_NS_PID in ip link 2008-06-23 09:10:47 -07:00
iplink_vlan.c vlan support 2007-09-05 12:03:46 +01:00
ipmaddr.c Remove trailing whitespace 2006-12-05 10:10:22 -08:00
ipmonitor.c Add addrlabel sub-command. 2008-02-13 12:36:57 -08:00
ipmroute.c Remove trailing whitespace 2006-12-05 10:10:22 -08:00
ipneigh.c Neighbor cache timer is in user hz 2008-06-20 12:37:42 -07:00
ipntable.c Remove trailing whitespace 2006-12-05 10:10:22 -08:00
ipprefix.c Remove trailing whitespace 2006-12-05 10:10:22 -08:00
iproute.c fix problem caused by rtnl_send checks 2008-01-31 21:38:58 -08:00
iprule.c iproute2: revert syntax help text mistake. 2008-01-02 16:33:24 -08:00
iptunnel.c Add more aliases for tunnel subcommand. 2008-04-01 11:25:46 -07:00
ipxfrm.c ip: xfrm: Fix flush message. 2007-09-05 12:56:51 +01:00
link_veth.c veth.h move to linux/ 2007-12-25 12:38:08 -08:00
routef ip/routef lifesaver 2007-07-10 18:29:20 -07:00
routel (Logical change 1.3) 2004-04-15 20:56:59 +00:00
rtm_map.c (Logical change 1.3) 2004-04-15 20:56:59 +00:00
rtmon.c iproute2: Support IFF_LOWER_UP and IFF_DORMANT 2007-06-19 16:40:40 -07:00
rtpr (Logical change 1.3) 2004-04-15 20:56:59 +00:00
tunnel.c IPROUTE2: Support IPv4/IPv6 Tunnel 2007-10-12 13:12:37 -07:00
tunnel.h Remove trailing whitespace 2006-12-05 10:10:22 -08:00
xfrm.h ip: xfrm: Fix flush message. 2007-09-05 12:56:51 +01:00
xfrm_monitor.c ip: xfrm: Fix flush message. 2007-09-05 12:56:51 +01:00
xfrm_policy.c fix problem caused by rtnl_send checks 2008-01-31 21:38:58 -08:00
xfrm_state.c xfrm: Allow replay setting 2008-05-09 15:52:01 -07:00