unexpected op: %!s(int32=49)

This commit is contained in:
sump pump 2020-05-20 23:39:49 +00:00
parent 66110cdf10
commit 5feb5ab492

View File

@ -54,7 +54,7 @@ protocol kernel { # Primary routing table
# the global mesh network.
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
@ -62,7 +62,7 @@ function net_lixonet_global()
# for us. Helps prevent a security vulnerability of hijacking another 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