ethstate script update
commit9f368c78e81e59fbd4a8c439266640449cdbd048
authorShibby <shibby@openlinksys.info>
Wed, 16 Oct 2013 12:18:23 +0000 (16 14:18 +0200)
committerShibby <shibby@openlinksys.info>
Wed, 16 Oct 2013 12:18:23 +0000 (16 14:18 +0200)
treeee50c176120ae938ea78ca9068312d4b58f80986
parent566afba38e8d8652b040ac6fb5997f3539cd19d2
ethstate script update

when we use 3G modem in NDIS mode, then we have to change wan_ifname to new interface (ex usb0).
If WAN is not set as vlan, then ethstate broke data and etherstate will not works correct.

This commit add a simple way to detect WAN port using MAC addr.
release/src/router/others/ethstate