ipq806x: Norton 518: fix interface definition (#9171)

This commit is contained in:
Liam Luo 2022-04-02 01:15:55 +08:00 committed by GitHub
parent 3186d2e169
commit a77cc5f1ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ tplink,c2600)
norton,core-518) norton,core-518)
hw_mac_addr=$(mtd_get_mac_ascii_mmc 0:APPSBLENV ethaddr) hw_mac_addr=$(mtd_get_mac_ascii_mmc 0:APPSBLENV ethaddr)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"2:lan" "3:lan" "4:lan" "6@eth1" "5:wan" "0@eth0" "2:lan" "3:lan" "4:lan" "6u@eth1" "5:wan" "0u@eth0"
ucidef_set_interface_macaddr "wan" "$hw_mac_addr" ucidef_set_interface_macaddr "wan" "$hw_mac_addr"
ucidef_set_interface_macaddr "lan" "$(macaddr_add $hw_mac_addr 1)" ucidef_set_interface_macaddr "lan" "$(macaddr_add $hw_mac_addr 1)"
;; ;;