From c1578d4fc9e53c9b80d858fc924adc8a66f5fce3 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sat, 10 Sep 2016 09:46:14 +0200 Subject: cleanup ucidef_set_interface* usage - quote the interface name - remove call of not existing function - remove the proto if it's the default proto Signed-off-by: Mathias Kresin --- target/linux/lantiq/base-files/etc/board.d/02_network | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/lantiq') diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network index c2ccf97718..dad4458496 100755 --- a/target/linux/lantiq/base-files/etc/board.d/02_network +++ b/target/linux/lantiq/base-files/etc/board.d/02_network @@ -170,8 +170,8 @@ fi ucidef_set_interface_wan "$interface_wan" "pppoe" -[ -n "$lan_mac" ] && ucidef_set_interface_macaddr lan "$lan_mac" -[ -n "$wan_mac" ] && ucidef_set_interface_macaddr wan "$wan_mac" +[ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" "$lan_mac" +[ -n "$wan_mac" ] && ucidef_set_interface_macaddr "wan" "$wan_mac" board_config_flush -- cgit v1.2.3