Roopa Prabhu 106ca2779e 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>
2015-03-24 15:03:35 -07:00
..
2010-07-23 12:30:48 -07:00
2010-07-23 12:30:48 -07:00
2013-02-12 11:39:07 -08:00
2012-12-23 11:49:06 -08:00
2012-12-23 11:49:06 -08:00
2013-02-12 11:39:07 -08:00
2014-08-04 10:30:35 -07:00
2014-08-29 00:13:22 -07:00
2015-03-15 12:27:40 -07:00
2015-03-15 12:27:40 -07:00
2015-02-05 10:28:19 -08:00
2014-12-20 11:36:54 -08:00