diff options
author | Yuta SATOH <nigoro.gentoo@0x100.com> | 2013-03-08 15:16:21 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2013-03-08 15:30:36 -0600 |
commit | f1ae8963c9251c23752e932eede36bf6f8901dbf (patch) | |
tree | 8a705397c99f68ba1f50abe35ebd313540c43065 /scripts | |
parent | 3b05586a735f46bb668a88e7ea59b1ff9d84b461 (diff) |
oldnet: convert netmask to decimal numbers in _netmask2cidr
Free BSD's ifconfig outputs a netmask in the form 0xffffff00, which
was translating to 0xff.0xff.0xff.0x00,. Now we convert this to decimal
numbers before we convert it to cidr notation.
Reported-by: 4glitch@gmail.com
X-Gentoo-Bug: 460268
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=460268
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions