X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=nat46%2Ffiles%2F464xlat.sh;h=2ec1094a80c3d6af0a44c3c6b108952384f11cec;hb=e17f103c4d6fddc713c63934e6e5b058b8add046;hp=8154f7f88570b41c3e6cced96bc20bd7fc27676e;hpb=e318b03d19472d631dbdad46aaafee986801c15d;p=lede-routing%2F.git diff --git a/nat46/files/464xlat.sh b/nat46/files/464xlat.sh index 8154f7f..2ec1094 100755 --- a/nat46/files/464xlat.sh +++ b/nat46/files/464xlat.sh @@ -67,16 +67,6 @@ proto_464xlat_setup() { json_add_string src_ip $ip6addr json_add_string target ACCEPT json_close_object - json_add_object "" - json_add_string type rule - json_add_string family inet6 - json_add_string proto all - json_add_string direction out - json_add_string dest "$zone" - json_add_string src "$zone" - json_add_string dest_ip $ip6addr - json_add_string target ACCEPT - json_close_object json_close_array proto_close_data @@ -84,7 +74,7 @@ proto_464xlat_setup() { } proto_464xlat_teardown() { - 464xlatcfg "464xlat-$1" + 464xlatcfg "464-$1" } proto_464xlat_init_config() {