]> git.ipfire.org Git - thirdparty/hostap.git/commit
bsd: Fix buffer size for routing socket with IPv6 disabled
authorYi Zhu <Yi.Zhu@Atheros.com>
Tue, 12 Apr 2011 20:09:14 +0000 (23:09 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 12 Apr 2011 20:09:14 +0000 (23:09 +0300)
commitd4a747f0067379e7e995325efdaab03103cd07b1
treee9747d7330107d2490efe35ac8014b3297f3d328
parent67b9bd089b0a556d3a1aa417412ecfa46f05b960
bsd: Fix buffer size for routing socket with IPv6 disabled

AF_INET6 is not always enabled by default, so use AF_INET instead. In
addition, use the old fixed length, 2048, as a failover value if the
sysctl fails for any reason.
src/drivers/driver_bsd.c