Skip to content

Commit

Permalink
lime-proto-bmx6: fix bmx6 main addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
G10h4ck committed May 3, 2014
1 parent 24268d0 commit 016612c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/lime-proto-bmx6/src/bmx6.lua
Expand Up @@ -49,8 +49,8 @@ function bmx6.configure(args)

uci:set("bmx6", "main", "tunDev")
uci:set("bmx6", "main", "tunDev", "main")
uci:set("bmx6", "main", "tun4Address", ipv4:string())
uci:set("bmx6", "main", "tun6Address", ipv6:string())
uci:set("bmx6", "main", "tun4Address", ipv4:host():string().."/32")
uci:set("bmx6", "main", "tun6Address", ipv6:host():string().."/128")

-- Enable bmx6 uci config plugin
uci:set("bmx6", "config", "plugin")
Expand Down

0 comments on commit 016612c

Please sign in to comment.