unexpected op: %!s(int32=49)
This commit is contained in:
parent
66110cdf10
commit
5feb5ab492
@ -54,7 +54,7 @@ protocol kernel { # Primary routing table
|
|||||||
# the global mesh network.
|
# the global mesh network.
|
||||||
function net_lixonet_global()
|
function net_lixonet_global()
|
||||||
{
|
{
|
||||||
return net ~ [ ${address:-172.30.0.0}/${global_prefix:16} ];
|
return net ~ [ ${address:-172.30.0.0}/${global_prefix:-16} ];
|
||||||
}
|
}
|
||||||
|
|
||||||
# Returns TRUE if the given tested network is within the router network prefix for
|
# Returns TRUE if the given tested network is within the router network prefix for
|
||||||
@ -62,7 +62,7 @@ function net_lixonet_global()
|
|||||||
# for us. Helps prevent a security vulnerability of hijacking another router.
|
# for us. Helps prevent a security vulnerability of hijacking another router.
|
||||||
function net_lixonet_router()
|
function net_lixonet_router()
|
||||||
{
|
{
|
||||||
return net ~ [ ${address:-172.30.0.0}/${router_prefix:16} ];
|
return net ~ [ ${address:-172.30.0.0}/${router_prefix:-24} ];
|
||||||
}
|
}
|
||||||
|
|
||||||
filter lixonet_import
|
filter lixonet_import
|
||||||
|
Loading…
x
Reference in New Issue
Block a user