[bug #27856] PPP: Set netif link- and status-callback

View: New views
1 Messages — Rating Filter:   Alert me  

[bug #27856] PPP: Set netif link- and status-callback

by Sylvain Beucler-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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/



_______________________________________________
lwip-devel mailing list
lwip-devel@...
http://lists.nongnu.org/mailman/listinfo/lwip-devel