From 3018f1367075dd5310fc5f5ceaf6706ae67b3013 Mon Sep 17 00:00:00 2001 From: Juergen Borleis Date: Wed, 23 Apr 2014 11:19:25 +0200 Subject: net/ifup.c: avoid setting the MAC twice The command always sets the MAC address of the interface in the code path. For the static network configuration case it sets it again, due to the environment variable keyword ("ethaddr") is listed again in the table. Remove this keyword from the table, because the MAC is already set. Signed-off-by: Juergen Borleis Signed-off-by: Sascha Hauer --- net/ifup.c | 1 - 1 file changed, 1 deletion(-) (limited to 'net/ifup.c') diff --git a/net/ifup.c b/net/ifup.c index b259a975dc..409b338ec1 100644 --- a/net/ifup.c +++ b/net/ifup.c @@ -31,7 +31,6 @@ static char *vars[] = { "netmask", "gateway", "serverip", - "ethaddr", }; static int eth_set_param(struct device_d *dev, const char *param) -- cgit v1.2.3