aboutsummaryrefslogtreecommitdiffstats
path: root/package/ppp/patches/404-remove_obsolete_protocol_names.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-28 16:51:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-28 16:51:12 +0000
commit56add8a1e478796fc86a4d8911a8b41cbe344a07 (patch)
treef300b7d987f7c0fda4a0d7f8213ec62ac86a7b5a /package/ppp/patches/404-remove_obsolete_protocol_names.patch
parent8ac7c93036f2d779fd58db25e09ff7873114b877 (diff)
downloadupstream-56add8a1e478796fc86a4d8911a8b41cbe344a07.tar.gz
upstream-56add8a1e478796fc86a4d8911a8b41cbe344a07.tar.bz2
upstream-56add8a1e478796fc86a4d8911a8b41cbe344a07.zip
ppp: version bump to 2.4.5
Bump to the current version of PPP. A few of the patches are either in 2.4.5 or something functionally equivalent is, so those patches were removed. 1 patch was added to accommodate pppol2pv3_addr which is referenced in a linux kernel header file, but isn't defined in the kernel header files packaged with PPP. Redux: re-instate the commenting out of the exponential back-off as requested by Felix. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27818 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp/patches/404-remove_obsolete_protocol_names.patch')
-rw-r--r--package/ppp/patches/404-remove_obsolete_protocol_names.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/package/ppp/patches/404-remove_obsolete_protocol_names.patch b/package/ppp/patches/404-remove_obsolete_protocol_names.patch
index f04d971a22..13a338f3e6 100644
--- a/package/ppp/patches/404-remove_obsolete_protocol_names.patch
+++ b/package/ppp/patches/404-remove_obsolete_protocol_names.patch
@@ -1,6 +1,6 @@
--- a/pppd/main.c
+++ b/pppd/main.c
-@@ -879,14 +879,17 @@ struct protocol_list {
+@@ -880,14 +880,17 @@ struct protocol_list {
const char *name;
} protocol_list[] = {
{ 0x21, "IP" },
@@ -18,7 +18,7 @@
{ 0x33, "Stream Protocol ST-II" },
{ 0x35, "Banyan Vines" },
{ 0x39, "AppleTalk EDDP" },
-@@ -900,8 +903,11 @@ struct protocol_list {
+@@ -901,8 +904,11 @@ struct protocol_list {
{ 0x49, "Serial Data Transport Protocol (PPP-SDTP)" },
{ 0x4b, "SNA over 802.2" },
{ 0x4d, "SNA" },
@@ -30,7 +30,7 @@
{ 0x53, "Encryption" },
{ 0x55, "Individual Link Encryption" },
{ 0x57, "IPv6" },
-@@ -912,12 +918,15 @@ struct protocol_list {
+@@ -913,12 +919,15 @@ struct protocol_list {
{ 0x65, "RTP IPHC Compressed non-TCP" },
{ 0x67, "RTP IPHC Compressed UDP 8" },
{ 0x69, "RTP IPHC Compressed RTP 8" },
@@ -46,7 +46,7 @@
{ 0x0203, "IBM Source Routing BPDU" },
{ 0x0205, "DEC LANBridge100 Spanning Tree" },
{ 0x0207, "Cisco Discovery Protocol" },
-@@ -929,15 +938,19 @@ struct protocol_list {
+@@ -930,15 +939,19 @@ struct protocol_list {
{ 0x0231, "Luxcom" },
{ 0x0233, "Sigma Network Systems" },
{ 0x0235, "Apple Client Server Protocol" },
@@ -66,7 +66,7 @@
{ 0x4001, "Cray Communications Control Protocol" },
{ 0x4003, "CDPD Mobile Network Registration Protocol" },
{ 0x4005, "Expand accelerator protocol" },
-@@ -948,8 +961,10 @@ struct protocol_list {
+@@ -949,8 +962,10 @@ struct protocol_list {
{ 0x4023, "RefTek Protocol" },
{ 0x4025, "Fibre Channel" },
{ 0x4027, "EMIT Protocols" },
@@ -77,7 +77,7 @@
{ 0x8023, "OSI Network Layer Control Protocol" },
{ 0x8025, "Xerox NS IDP Control Protocol" },
{ 0x8027, "DECnet Phase IV Control Protocol" },
-@@ -958,7 +973,9 @@ struct protocol_list {
+@@ -959,7 +974,9 @@ struct protocol_list {
{ 0x8031, "Bridging NCP" },
{ 0x8033, "Stream Protocol Control Protocol" },
{ 0x8035, "Banyan Vines Control Protocol" },
@@ -87,7 +87,7 @@
{ 0x803f, "NETBIOS Framing Control Protocol" },
{ 0x8041, "Cisco Systems Control Protocol" },
{ 0x8043, "Ascom Timeplex" },
-@@ -967,18 +984,24 @@ struct protocol_list {
+@@ -968,18 +985,24 @@ struct protocol_list {
{ 0x8049, "Serial Data Control Protocol (PPP-SDCP)" },
{ 0x804b, "SNA over 802.2 Control Protocol" },
{ 0x804d, "SNA Control Protocol" },
@@ -98,7 +98,7 @@
+#endif
{ 0x8053, "Encryption Control Protocol" },
{ 0x8055, "Individual Link Encryption Control Protocol" },
- { 0x8057, "IPv6 Control Protovol" },
+ { 0x8057, "IPv6 Control Protocol" },
{ 0x8059, "PPP Muxing Control Protocol" },
{ 0x805b, "Vendor-Specific Network Control Protocol (VSNCP)" },
+#if 0
@@ -112,7 +112,7 @@
{ 0x8207, "Cisco Discovery Protocol Control" },
{ 0x8209, "Netcs Twin Routing" },
{ 0x820b, "STP - Control Protocol" },
-@@ -987,24 +1010,29 @@ struct protocol_list {
+@@ -988,24 +1011,29 @@ struct protocol_list {
{ 0x8281, "MPLSCP" },
{ 0x8285, "IEEE p1284.4 standard - Protocol Control" },
{ 0x8287, "ETSI TETRA TNP1 Control Protocol" },