From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/xl2tpd/ipparam.patch | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 community/xl2tpd/ipparam.patch (limited to 'community/xl2tpd/ipparam.patch') diff --git a/community/xl2tpd/ipparam.patch b/community/xl2tpd/ipparam.patch new file mode 100644 index 000000000..9c2fd8400 --- /dev/null +++ b/community/xl2tpd/ipparam.patch @@ -0,0 +1,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 */ -- cgit v1.2.3-54-g00ecf