ifconfig meshforward command bug
Monthadar Al Jaberi
monthadar at gmail.com
Thu Mar 22 15:59:54 UTC 2012
Hi,
I think this is a bug in ifconfig, sending val to kernel always
results in zero. There are a couple of these, just want to hear from
you guys if you think this is a bug too.
--- a/sbin/ifconfig/ifieee80211.c
+++ b/sbin/ifconfig/ifieee80211.c
@@ -1879,13 +1879,19 @@ DECL_CMD_FUNC(set80211meshttl, val, d)
static
DECL_CMD_FUNC(set80211meshforward, val, d)
{
- set80211(s, IEEE80211_IOC_MESH_FWRD, atoi(val), 0, NULL);
+ set80211(s, IEEE80211_IOC_MESH_FWRD, d, 0, NULL);
br,
--
Monthadar Al Jaberi
More information about the freebsd-net
mailing list