developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame^] | 1 | diff --git a/source/gw_prov_sm.c b/source/gw_prov_sm.c |
| 2 | index 76cf208..983d1fa 100644 |
| 3 | --- a/source/gw_prov_sm.c |
| 4 | +++ b/source/gw_prov_sm.c |
| 5 | @@ -88,7 +88,7 @@ char log_buff[1024]; |
| 6 | #define NETUTILS_IPv6_GLOBAL_ADDR_LEN 128 |
| 7 | #define ER_NETDEVNAME "erouter0" |
| 8 | #define IFNAME_WAN_0 "wan0" |
| 9 | -#define IFNAME_ETH_0 "eth0" |
| 10 | +#define IFNAME_ETH_0 "eth2" |
| 11 | #define TLV202_42_FAVOR_DEPTH 1 |
| 12 | #define TLV202_42_FAVOR_WIDTH 2 |
| 13 | |
| 14 | @@ -2449,9 +2449,9 @@ static int GWP_act_ProvEntry_callback() |
| 15 | return -1; |
| 16 | } |
| 17 | |
| 18 | - system("ifconfig eth0 down"); |
| 19 | + system("ifconfig eth2 down"); |
| 20 | memset(command,0,sizeof(command)); |
| 21 | - sprintf(command, "ip link set eth0 name %s", wanPhyName); |
| 22 | + sprintf(command, "ip link set eth2 name %s", wanPhyName); |
| 23 | printf("****************value of command = %s**********************\n", command); |
| 24 | system(command); |
| 25 | |