commit | 106ca2779ebc0d6a17ce7fae073aa38cdbdae6bb | [log] [tgz] |
---|---|---|
author | Roopa Prabhu <roopa@cumulusnetworks.com> | Tue Mar 17 19:18:28 2015 -0700 |
committer | Stephen Hemminger <shemming@brocade.com> | Tue Mar 24 15:03:35 2015 -0700 |
tree | a23536c54091ca532f9c2c28da6b780631d27c25 | |
parent | 6f4cad912082998bc2a44316af5550eaf260605a [diff] |
lib utils: fix family during af_bit_len calculation commit f3a2ddc124e0 ("lib utils: Use helpers to get AF bit/byte len") used a wrong family or family of zero in the default case during af_bit_len calculation causing ip route commands to fail with below error Error: an inet prefix is expected rather than "10.0.2.14/24". Reported-by: Sven-Haegar Koch <haegar@sdinet.de> Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>