From: Eric s. J. <esj...@us...> - 2002-08-04 18:52:59
|
Update of /cvsroot/ipcop/ipcop/html/cgi-bin In directory usw-pr-cvs1:/tmp/cvs-serv19798 Modified Files: Tag: IPCOP_v0_1 portfw.cgi Log Message: added commentary on why we made the change in testing for IP address and port number collisions with multiple red IP address interfaces Index: portfw.cgi =================================================================== RCS file: /cvsroot/ipcop/ipcop/html/cgi-bin/Attic/portfw.cgi,v retrieving revision 1.2.2.4 retrieving revision 1.2.2.5 diff -C2 -d -r1.2.2.4 -r1.2.2.5 *** portfw.cgi 31 Jul 2002 19:17:25 -0000 1.2.2.4 --- portfw.cgi 4 Aug 2002 18:52:55 -0000 1.2.2.5 *************** *** 37,40 **** --- 37,49 ---- { my @temp = split(/\,/,$line); + + #we added a new parameter to each line on portfw/config + #(source IP). But since we're now bringing forward + #parameters via the backup utility, these files are + #not being updated to the new format. Therefore, when + #testing for validity, it's necessary to fill in the + #"default" value for some of these fields hence the + #code below. + if (!defined $temp[5]) { |