ifconfig meshforward command bug

Bernhard Schmidt bschmidt at freebsd.org
Fri Mar 23 18:13:39 UTC 2012


On Friday 23 March 2012 10:11:07 Monthadar Al Jaberi wrote:
> On Thu, Mar 22, 2012 at 10:23 PM, Adrian Chadd <adrian at freebsd.org> wrote:
> > I've fixed the one that Monthadar has submitted.
> >
> > Monthadar, would you mind reviewing the rest of the mesh commands and
> > see which others need fixing?
> 
> from what I can see the bug is for flags that we can either turn on or
> off. Another one I found,
> 
>  static
>  DECL_CMD_FUNC(set80211meshpeering, val, d)
>  {
> -       set80211(s, IEEE80211_IOC_MESH_AP, atoi(val), 0, NULL);
> +       set80211(s, IEEE80211_IOC_MESH_AP, d, 0, NULL);
> 
> I took a quick look and think this is last one

Correct, and committed, thanks!

-- 
Bernhard


More information about the freebsd-net mailing list