X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=nat46%2Ffiles%2F464xlat.sh;h=2ec1094a80c3d6af0a44c3c6b108952384f11cec;hb=0a2aac2dd52e39b84c3f77b3a908adb0f08c9ec7;hp=8154f7f88570b41c3e6cced96bc20bd7fc27676e;hpb=326d4de13c7ef203165d64358123294ae6903cd0;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() {