]> granicus.if.org Git - esp-idf/commitdiff
lwip: fix compile issue when autoip option enabled
authorWu Jian Gang <wujiangang@espressif.com>
Sat, 7 Jan 2017 13:20:39 +0000 (21:20 +0800)
committerWu Jian Gang <wujiangang@espressif.com>
Mon, 9 Jan 2017 02:22:36 +0000 (10:22 +0800)
components/lwip/core/ipv4/autoip.c

index faac4957ca27b4833b5c7dbd9f20bf0028dcba8d..f27d28aa245f44b410d3d0d31701a3042dcab50c 100755 (executable)
@@ -273,7 +273,7 @@ autoip_bind(struct netif *netif)
 #if ESP_LWIP
   struct dhcp *dhcp = netif->dhcp;
   if (dhcp->cb != NULL) {
-    dhcp->cb();
+    dhcp->cb(netif);
   }
 #endif
   return ERR_OK;