Changeset 28497


Ignore:
Timestamp:
2011-10-20T23:42:07+02:00 (6 years ago)
Author:
nbd
Message:

pppd: add a patch for overriding the path to /etc/ppp/ipv6-{up,down}

Location:
trunk/package/ppp/patches
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/ppp/patches/206-compensate_time_change.patch

    r27818 r28497  
    1717 static void create_pidfile __P((int pid)); 
    1818 static void create_linkpidfile __P((int pid)); 
    19 @@ -533,6 +535,7 @@ main(argc, argv) 
     19@@ -535,6 +537,7 @@ main(argc, argv) 
    2020            info("Starting link"); 
    2121        } 
     
    2525        script_unsetenv("CONNECT_TIME"); 
    2626        script_unsetenv("BYTES_SENT"); 
    27 @@ -1265,6 +1268,36 @@ struct   callout { 
     27@@ -1267,6 +1270,36 @@ struct   callout { 
    2828  
    2929 static struct callout *callout = NULL; /* Callout list */ 
     
    6262 /* 
    6363  * timeout - Schedule a timeout. 
    64 @@ -1335,6 +1368,8 @@ calltimeout() 
     64@@ -1337,6 +1370,8 @@ calltimeout() 
    6565 { 
    6666     struct callout *p; 
     
    7171        p = callout; 
    7272  
    73 @@ -1362,6 +1397,8 @@ timeleft(tvp) 
     73@@ -1364,6 +1399,8 @@ timeleft(tvp) 
    7474 { 
    7575     if (callout == NULL) 
  • trunk/package/ppp/patches/310-precompile_filter.patch

    r27818 r28497  
    3636  * There have been 3 or 4 different names for this in libpcap CVS, but 
    3737  * this seems to be what they have settled on... 
    38 @@ -160,6 +161,13 @@ static int setlogfile __P((char **)); 
     38@@ -162,6 +163,13 @@ static int setlogfile __P((char **)); 
    3939 static int loadplugin __P((char **)); 
    4040 #endif 
     
    5050 static int setpassfilter __P((char **)); 
    5151 static int setactivefilter __P((char **)); 
    52 @@ -317,6 +325,14 @@ option_t general_options[] = { 
     52@@ -326,6 +334,14 @@ option_t general_options[] = { 
    5353       "set filter for active pkts", OPT_PRIO }, 
    5454 #endif 
     
    6565     { "maxoctets", o_int, &maxoctets, 
    6666       "Set connection traffic limit", 
    67 @@ -1463,6 +1479,29 @@ callfile(argv) 
     67@@ -1472,6 +1488,29 @@ callfile(argv) 
    6868     return ok; 
    6969 } 
  • trunk/package/ppp/patches/320-custom_iface_names.patch

    r27818 r28497  
    11--- a/pppd/main.c 
    22+++ b/pppd/main.c 
    3 @@ -743,8 +743,11 @@ void 
     3@@ -745,8 +745,11 @@ void 
    44 set_ifunit(iskey) 
    55     int iskey; 
     
    2525 int    connect_delay = 1000;   /* wait this many ms after connect script */ 
    2626 int    req_unit = -1;          /* requested interface unit */ 
    27 @@ -264,6 +265,9 @@ option_t general_options[] = { 
     27@@ -266,6 +267,9 @@ option_t general_options[] = { 
    2828     { "linkname", o_string, linkname, 
    2929       "Set logical name for link", 
  • trunk/package/ppp/patches/404-remove_obsolete_protocol_names.patch

    r27818 r28497  
    11--- a/pppd/main.c 
    22+++ b/pppd/main.c 
    3 @@ -880,14 +880,17 @@ struct protocol_list { 
     3@@ -882,14 +882,17 @@ struct protocol_list { 
    44     const char *name; 
    55 } protocol_list[] = { 
     
    1919     { 0x35,    "Banyan Vines" }, 
    2020     { 0x39,    "AppleTalk EDDP" }, 
    21 @@ -901,8 +904,11 @@ struct protocol_list { 
     21@@ -903,8 +906,11 @@ struct protocol_list { 
    2222     { 0x49,    "Serial Data Transport Protocol (PPP-SDTP)" }, 
    2323     { 0x4b,    "SNA over 802.2" }, 
     
    3131     { 0x55,    "Individual Link Encryption" }, 
    3232     { 0x57,    "IPv6" }, 
    33 @@ -913,12 +919,15 @@ struct protocol_list { 
     33@@ -915,12 +921,15 @@ struct protocol_list { 
    3434     { 0x65,    "RTP IPHC Compressed non-TCP" }, 
    3535     { 0x67,    "RTP IPHC Compressed UDP 8" }, 
     
    4747     { 0x0205,  "DEC LANBridge100 Spanning Tree" }, 
    4848     { 0x0207,  "Cisco Discovery Protocol" }, 
    49 @@ -930,15 +939,19 @@ struct protocol_list { 
     49@@ -932,15 +941,19 @@ struct protocol_list { 
    5050     { 0x0231,  "Luxcom" }, 
    5151     { 0x0233,  "Sigma Network Systems" }, 
     
    6767     { 0x4003,  "CDPD Mobile Network Registration Protocol" }, 
    6868     { 0x4005,  "Expand accelerator protocol" }, 
    69 @@ -949,8 +962,10 @@ struct protocol_list { 
     69@@ -951,8 +964,10 @@ struct protocol_list { 
    7070     { 0x4023,  "RefTek Protocol" }, 
    7171     { 0x4025,  "Fibre Channel" }, 
     
    7878     { 0x8025,  "Xerox NS IDP Control Protocol" }, 
    7979     { 0x8027,  "DECnet Phase IV Control Protocol" }, 
    80 @@ -959,7 +974,9 @@ struct protocol_list { 
     80@@ -961,7 +976,9 @@ struct protocol_list { 
    8181     { 0x8031,  "Bridging NCP" }, 
    8282     { 0x8033,  "Stream Protocol Control Protocol" }, 
     
    8888     { 0x8041,  "Cisco Systems Control Protocol" }, 
    8989     { 0x8043,  "Ascom Timeplex" }, 
    90 @@ -968,18 +985,24 @@ struct protocol_list { 
     90@@ -970,18 +987,24 @@ struct protocol_list { 
    9191     { 0x8049,  "Serial Data Control Protocol (PPP-SDCP)" }, 
    9292     { 0x804b,  "SNA over 802.2 Control Protocol" }, 
     
    113113     { 0x8209,  "Netcs Twin Routing" }, 
    114114     { 0x820b,  "STP - Control Protocol" }, 
    115 @@ -988,24 +1011,29 @@ struct protocol_list { 
     115@@ -990,24 +1013,29 @@ struct protocol_list { 
    116116     { 0x8281,  "MPLSCP" }, 
    117117     { 0x8285,  "IEEE p1284.4 standard - Protocol Control" }, 
  • trunk/package/ppp/patches/405-no_multilink_option.patch

    r26614 r28497  
    11--- a/pppd/options.c 
    22+++ b/pppd/options.c 
    3 @@ -309,13 +309,14 @@ option_t general_options[] = { 
     3@@ -318,13 +318,14 @@ option_t general_options[] = { 
    44       "Enable multilink operation", OPT_PRIOSUB | OPT_ALIAS | 1 }, 
    55     { "nomultilink", o_bool, &multilink, 
Note: See TracChangeset for help on using the changeset viewer.