[][Add API for deleting or adding interface to whnat_interface]
[Description]
Add API for deleting or adding interface to whnat_interface.
When creating an interface after initialization, since the interface is not in whnat_interface,
HNAT BIND info will be incorrect (this happens when there are 2 PPE)
[Usage]
- Command
- echo $0 $1 > /sys/kernel/debug/hnat/whnat_interface
- Parameters
- $0: interface_name STR
- $1: disable/enable OCT
[Release-log]
N/A
Change-Id: Ie5481e2ea46c36f216c63193e96614239c8226b9
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/5729194
1 file changed