Project

General

Profile

Feature #3303 ยป quagga_ospfd.patch

Peter Allgeyer, 03/24/2014 10:56 AM

View differences:

config/quagga_ospfd/quagga_ospfd.inc
176 176
		if($ospfd_conf['routerid'])
177 177
			$conffile .= "  ospf router-id {$ospfd_conf['routerid']}\n";
178 178

  
179
		if ($ospfd_conf['updatefib'])
179
		if ($ospfd_conf['updatefib'] == "stub")
180 180
			$conffile .= "  area {$ospfd_conf['area']} stub\n";
181
		elseif ($ospfd_conf['updatefib'] == "nosum")
182
			$conffile .= "  area {$ospfd_conf['area']} stub no-summary\n";
183
		elseif ($ospfd_conf['updatefib'] == "nssa")
184
			$conffile .= "  area {$ospfd_conf['area']} nssa\n";
181 185

  
182 186
		if ($ospfd_conf['logging'] && $ospfd_conf['adjacencylog'])
183 187
			$conffile .= "  log-adjacency-changes detail\n";
config/quagga_ospfd/quagga_ospfd.xml
107 107
			<fielddescr>Disable FIB updates (Routing table)</fielddescr>
108 108
			<fieldname>updatefib</fieldname>
109 109
			<description>Disables the updating of the host routing table(turns into stub router).</description>
110
			<type>checkbox</type>
110
			<type>select</type>
111
				<options>
112
				<option><name>Enable FIB updates (default)</name><value>none</value></option>
113
				<option><name>Stub Area (stub)</name><value>stub</value></option>
114
				<option><name>Totally Stub (no-summary)</name><value>stub no-summary</value></option>
115
				<option><name>Not so Stub Area (nssa)</name><value>nssa</value></option>
116
			</options>
111 117
		</field>
112 118
		<field>
113 119
			<fielddescr>Redistribute connected subnets</fielddescr>
......
199 205
	<custom_php_validation_command>
200 206
		quagga_ospfd_validate_input();
201 207
	</custom_php_validation_command>
202
</packagegui>
208
</packagegui>
    (1-1/1)