diff --git a/openwrt/openwrt-nat64-bootstrap.sh b/openwrt/openwrt-nat64-bootstrap.sh index e86ea9f..d9748fd 100755 --- a/openwrt/openwrt-nat64-bootstrap.sh +++ b/openwrt/openwrt-nat64-bootstrap.sh @@ -10,7 +10,7 @@ # - do not provide IPv4 or IPv6 dhcp/ra on any interface if [ $# -lt 8 ] ; then - echo $0 "address hostname nat64prefix ipv4address ipv4gw asn routerid iBGPpeer1 [iBGPpeer2...]" + echo $0 "address hostname nat64prefix ipv4address ipv4gw asn routerid babelpw iBGPpeer1 [iBGPpeer2...]" exit 1 fi @@ -21,6 +21,7 @@ ipv4address=$1; shift ipv4gw=$1; shift asn=$1; shift routerid=$1; shift +babelpw=$1; shift ibgp_peers="$@" # Now $@ only contains iBGP peers @@ -72,11 +73,22 @@ cat > /etc/bird.conf <