pppd: add a patch for overriding the path to /etc/ppp/ipv6-{up,down}
[openwrt/staging/florian.git] / package / ppp / patches / 320-custom_iface_names.patch
index 542f0a0d286c4970d50d27a38acfb968fd4f92ef..26e6837532b505af23db0eb0cdd61a16c507f57b 100644 (file)
@@ -1,6 +1,6 @@
 --- a/pppd/main.c
 +++ b/pppd/main.c
-@@ -743,8 +743,11 @@ void
+@@ -745,8 +745,11 @@ void
  set_ifunit(iskey)
      int iskey;
  {
@@ -24,7 +24,7 @@
  bool  tune_kernel;            /* may alter kernel settings */
  int   connect_delay = 1000;   /* wait this many ms after connect script */
  int   req_unit = -1;          /* requested interface unit */
-@@ -264,6 +265,9 @@ option_t general_options[] = {
+@@ -266,6 +267,9 @@ option_t general_options[] = {
      { "linkname", o_string, linkname,
        "Set logical name for link",
        OPT_PRIO | OPT_PRIV | OPT_STATIC, NULL, MAXPATHLEN },