odhcp6c: export passthru options as netifd data
authorSteven Barth <cyrus@openwrt.org>
Fri, 23 May 2014 06:26:23 +0000 (06:26 +0000)
committerSteven Barth <cyrus@openwrt.org>
Fri, 23 May 2014 06:26:23 +0000 (06:26 +0000)
SVN-Revision: 40825

package/network/ipv6/odhcp6c/files/dhcpv6.script

index 7a7f76f8338bede616baf2c8ed18f9bc10f6f39e..42c67c19c26b9c183828487d7051d897db4b0082 100755 (executable)
@@ -77,6 +77,7 @@ setup_interface () {
 
        proto_add_data
        [ -n "$CER" ] && json_add_string cer "$CER"
+       [ -n "$PASSTHRU" ] && json_add_string passthru "$PASSTHRU"
        proto_close_data
 
        proto_send_update "$INTERFACE"