Skip to content

Commit

Permalink
private-wifi: rename ifname to wan_wifiX to not collide with openwrt …
Browse files Browse the repository at this point in the history
…devices with more than one wan port

closes freifunk-gluon#3290
  • Loading branch information
maurerle committed Jun 27, 2024
1 parent f70526c commit 000efc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ wireless.foreach_radio(uci, function(radio)
return
end

uci:set('wireless', name, 'ifname', suffix and 'wan' .. suffix)
uci:set('wireless', name, 'ifname', suffix and 'wan_wifi' .. suffix)
end)

uci:save('wireless')
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function f:write()
ssid = ssid.data,
key = key.data,
macaddr = macaddr,
ifname = suffix and 'wan' .. suffix,
ifname = suffix and 'wan_wifi' .. suffix,
disabled = false,
})

Expand Down

0 comments on commit 000efc3

Please sign in to comment.