[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #27856] PPP: Set netif link- and status-callback
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #27856] PPP: Set netif link- and status-callback |
Date: |
Fri, 30 Oct 2009 09:28:33 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; de; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4 |
URL:
<http://savannah.nongnu.org/bugs/?27856>
Summary: PPP: Set netif link- and status-callback
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: goldsimon
Submitted on: Fr 30 Okt 2009 09:28:32 GMT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: 1.4.0
lwIP version: 1.3.1
_______________________________________________________
Details:
Suggestion from patch #6901:
static err_t
pppifNetifInit(struct netif *netif)
{
netif->name[0] = 'p';
netif->name[1] = 'p';
netif->output = pppifOutput;
netif->mtu = pppMTU((int)netif->state);
// --> this is missing
#if LWIP_NETIF_STATUS_CALLBACK
netif_set_status_callback(netif, pppnetif_status_callback);
#endif
#if LWIP_NETIF_LINK_CALLBACK
netif_set_link_callback(netif, pppnetif_link_callback);
#endif
// <--
return ERR_OK;
}
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?27856>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [bug #27856] PPP: Set netif link- and status-callback,
Simon Goldschmidt <=