lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] tapif.c gateway-ip bug


From: salih ahi
Subject: [lwip-devel] tapif.c gateway-ip bug
Date: Tue, 23 Dec 2014 15:25:27 +0200

In addition to the netmask ignoring I mentioned in the previous post, the interface is given the ip of gateway, instead of the ip specified after the “-i” parameter

sprintf(buf, IFCONFIG_BIN IFCONFIG_ARGS,

                  ip4_addr1(&(netif->gw)),

 

these 4 arguments to sprintf should be built from “netif->ip_addr”, not from “netif->gw”


reply via email to

[Prev in Thread] Current Thread [Next in Thread]