Project

General

Profile

« Previous | Next » 

Revision 3a0ccae2

Added by Scott Ullrich almost 20 years ago

Misc cleanups. Apply secondary status for any skew > 0

View differences:

etc/inc/services.inc
100 100
						$skew = 0;
101 101
				}
102 102
			}
103
			if($skew == 1) {
103
			if($skew > 0) {
104 104
				$dhcpdconf_pri = "";
105 105
				$type = "secondary";
106
				
107 106
			} else {
108 107
				$type = "primary";
109
				$dhcpdconf_pri = "mclt 600;\n";
110
				$dhcpdconf_pri .= "split 128;\n";
108
				$dhcpdconf_pri = "  mclt 600;\n";
109
				$dhcpdconf_pri .= "  split 128;\n";
111 110
			}
112 111
			$dhcpdconf .= <<<EOPP
113 112
failover peer "dhcp{$dhcpnum}" { 
......
123 122
}
124 123
EOPP;
125 124
		$dhcpnum++;
126

  
127
			
128 125
		}
129 126
	}
130 127

  

Also available in: Unified diff