/[smeserver]/rpms/e-smith-base/sme8/e-smith-base-5.2.0-only_fire_ip_change_on_wan.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme8/e-smith-base-5.2.0-only_fire_ip_change_on_wan.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Mar 31 15:48:18 2015 UTC (9 years, 7 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-base-5_2_0-96_el5_sme, e-smith-base-5_2_0-95_el5_sme, e-smith-base-5_2_0-97_el5_sme, HEAD
* Tue Mar 31 2015 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-95.sme
- Only fire the ip-change event when IP is assigned to WAN nic
  (Code by Charlie Brady and John Crisp) [SME: 8891]

1 diff -ruN e-smith-base-5.2.0.old/root/etc/e-smith/templates/etc/ppp/ip-up.local/30ipparam90other e-smith-base-5.2.0/root/etc/e-smith/templates/etc/ppp/ip-up.local/30ipparam90other
2 --- e-smith-base-5.2.0.old/root/etc/e-smith/templates/etc/ppp/ip-up.local/30ipparam90other 2015-03-31 16:28:08.157000576 +0200
3 +++ e-smith-base-5.2.0/root/etc/e-smith/templates/etc/ppp/ip-up.local/30ipparam90other 2015-03-31 16:28:59.377000728 +0200
4 @@ -1,4 +1,4 @@
5 - *)
6 + wan)
7 case $NEWIP in
8 $EXTERNALIP) ;; # No ip change - short-circuit
9 *) /sbin/e-smith/signal-event ip-change $4
10 diff -ruN e-smith-base-5.2.0.old/root/etc/e-smith/templates/var/service/wan/pppoe.pppd.conf/ipparam e-smith-base-5.2.0/root/etc/e-smith/templates/var/service/wan/pppoe.pppd.conf/ipparam
11 --- e-smith-base-5.2.0.old/root/etc/e-smith/templates/var/service/wan/pppoe.pppd.conf/ipparam 2015-03-31 16:28:08.157000576 +0200
12 +++ e-smith-base-5.2.0/root/etc/e-smith/templates/var/service/wan/pppoe.pppd.conf/ipparam 2015-03-31 16:28:31.392000565 +0200
13 @@ -1 +1 @@
14 -ipparam pppoe
15 +ipparam wan

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed