[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #37549] Need to disable HISADDR check for PPP
From: |
Mark Lakata |
Subject: |
[lwip-devel] [bug #37549] Need to disable HISADDR check for PPP |
Date: |
Thu, 11 Oct 2012 17:54:24 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4 |
URL:
<http://savannah.nongnu.org/bugs/?37549>
Summary: Need to disable HISADDR check for PPP
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: lakata
Submitted on: Thu 11 Oct 2012 05:54:23 PM GMT
Category: Contrib
Severity: 3 - Normal
Item Group: Change Request
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: 1.4.0
_______________________________________________________
Details:
The function ipcp_up() checks the HISADDR field is not zero, and aborts the
PPP connection if it is.
This is an optional field and many 3G providers do not supply this field.
There should be a compile time option to disable this check.
The suggested change is adding a compiler flag, such as PPP_HISADDR_WARNING
if (ho->hisaddr == 0) {
#ifdef PPP_HISADDR_WARNING
IPCPDEBUG(LOG_ERR, ("Warning: Remote IP address is 0\n"));
#else
IPCPDEBUG(LOG_ERR, ("Could not determine remote IP address\n"));
ipcp_close(f->unit, "Could not determine remote IP address");
return;
#endif
}
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?37549>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #37549] Need to disable HISADDR check for PPP,
Mark Lakata <=