[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-cvs
Subject:    [IPCop-cvs] ipcop/src/scripts setddns.pl,1.4.2.54,1.4.2.55
From:       Olaf Westrik <owes () users ! sourceforge ! net>
Date:       2009-05-29 21:49:39
Message-ID: E1MA9xL-0003PD-RQ () 23jxhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Update of /cvsroot/ipcop/ipcop/src/scripts
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv12920/src/scripts

Modified Files:
      Tag: IPCOP_v1_4_0
	setddns.pl 
Log Message:
Fix OpenDNS dynamic dns as reported in #2798583
For OpenDNS hostname is mandatory and domain is optional (at least according to \
ddns.cgi), so setddns.pl should do the same.


Index: setddns.pl
===================================================================
RCS file: /cvsroot/ipcop/ipcop/src/scripts/setddns.pl,v
retrieving revision 1.4.2.54
retrieving revision 1.4.2.55
diff -C2 -d -r1.4.2.54 -r1.4.2.55
*** setddns.pl	29 Sep 2008 19:24:04 -0000	1.4.2.54
--- setddns.pl	29 May 2009 21:49:37 -0000	1.4.2.55
***************
*** 618,623 ****
  			Net::SSLeay::set_proxy($peer,$peerport,$proxysettings{'UPSTREAM_USER'},$proxysettings{'UPSTREAM_PASSWORD'} \
);  }
! 		if ($settings{'HOSTNAME'} eq '') {
! 			$settings{'HOSTDOMAIN'} = $settings{'DOMAIN'};
  		} else {
  			$settings{'HOSTDOMAIN'} = "$settings{'HOSTNAME'}.$settings{'DOMAIN'}";
--- 618,623 ----
  			Net::SSLeay::set_proxy($peer,$peerport,$proxysettings{'UPSTREAM_USER'},$proxysettings{'UPSTREAM_PASSWORD'} \
);  }
! 		if ($settings{'DOMAIN'} eq '') {
! 			$settings{'HOSTDOMAIN'} = $settings{'HOSTNAME'};
  		} else {
  			$settings{'HOSTDOMAIN'} = "$settings{'HOSTNAME'}.$settings{'DOMAIN'}";


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
IPCop-cvs mailing list
IPCop-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic