summaryrefslogtreecommitdiff
path: root/community/xl2tpd/ipparam.patch
blob: 9c2fd84000827f03aab1bd41a3fcc161cafe502a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff -wbBur xl2tpd-1.2.8/control.c xl2tpd-1.2.8.my/control.c
--- xl2tpd-1.2.8/control.c	2011-02-23 08:10:21.000000000 +0300
+++ xl2tpd-1.2.8.my/control.c	2011-03-25 21:29:29.896518014 +0300
@@ -892,8 +892,8 @@
                 po = add_opt (po, c->lac->pppoptfile);
             }
         };
-	po = add_opt (po, "ipparam");
-        po = add_opt (po, IPADDY (t->peer.sin_addr));
+//	po = add_opt (po, "ipparam");
+//        po = add_opt (po, IPADDY (t->peer.sin_addr));
         start_pppd (c, po);
         opt_destroy (po);
         if (c->lac)
@@ -966,8 +966,8 @@
             po = add_opt (po, "file");
             po = add_opt (po, c->lns->pppoptfile);
         }
-	po = add_opt (po, "ipparam");
-        po = add_opt (po, IPADDY (t->peer.sin_addr));
+//	po = add_opt (po, "ipparam");
+//        po = add_opt (po, IPADDY (t->peer.sin_addr));
         start_pppd (c, po);
         opt_destroy (po);
         l2tp_log (LOG_NOTICE,
@@ -1026,8 +1026,8 @@
                 po = add_opt (po, c->lac->pppoptfile);
             }
         };
-	po = add_opt (po, "ipparam");
-        po = add_opt (po, IPADDY (t->peer.sin_addr));
+//	po = add_opt (po, "ipparam");
+//        po = add_opt (po, IPADDY (t->peer.sin_addr));
         start_pppd (c, po);
 
         /*  jz: just show some information */