iproute2/lib
Andreas Henriksson 5a0d1cbf69 iproute2: support dotted-quad netmask notation.
On tor, 2007-12-06 at 11:53 -0800, Stephen Hemminger wrote:
> On Tue, 4 Dec 2007 14:58:18 +0100
> Andreas Henriksson <andreas@fatal.se> wrote:
>
> > Suggested patch for allowing netmask to be specified in dotted quad format.
> > See http://bugs.debian.org/357172
> >
> > (Known problem: this will not prevent some invalid syntaxes,
> > ie. "255.0.255.0" will be treated as "255.255.255.0")
> >
> > Comments? Suggestions? Improvements?
>
> Fix the bug you mentioned?
>
> [... snip example code ...]

Updated patch, added your netmask validation code but without the check
that made 0.0.0.0 (default) and 255.255.255.255 (one address) invalid
netmasks as they are permitted in CIDR format.

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
2007-12-11 10:02:34 -08:00
..
Makefile (Logical change 1.3) 2004-04-15 20:56:59 +00:00
dnet_ntop.c (Logical change 1.3) 2004-04-15 20:56:59 +00:00
dnet_pton.c (Logical change 1.3) 2004-04-15 20:56:59 +00:00
inet_proto.c (Logical change 1.3) 2004-04-15 20:56:59 +00:00
ipx_ntop.c Remove trailing whitespace 2006-12-05 10:10:22 -08:00
ipx_pton.c (Logical change 1.3) 2004-04-15 20:56:59 +00:00
libnetlink.c Fix off by one in nested attribute management. 2007-12-10 11:34:40 -08:00
ll_addr.c iproute2: Format IPv6 tunnels endpoints nicely. 2007-06-19 16:29:05 -07:00
ll_map.c iproute2: Support IFF_LOWER_UP and IFF_DORMANT 2007-06-19 16:40:40 -07:00
ll_proto.c Remove trailing whitespace 2006-12-05 10:10:22 -08:00
ll_types.c ip: add support for displaying link types 802 and 803 2007-06-19 16:10:37 -07:00
rt_names.c Display local route table name correctly in output of: 2006-11-27 14:12:31 -08:00
utils.c iproute2: support dotted-quad netmask notation. 2007-12-11 10:02:34 -08:00