Project

General

Profile

« Previous | Next » 

Revision 7468ce30

Added by Jim Pingle over 9 years ago

GIF had the same problem as GRE with flags, apply the same fix. Ticket #6010

View differences:

src/usr/local/www/interfaces_gif_edit.php
154 154
		$gif['tunnel-remote-net'] = $_POST['tunnel-remote-net'];
155 155
		$gif['remote-addr'] = $_POST['remote-addr'];
156 156
		$gif['descr'] = $_POST['descr'];
157
		$gif['link1'] = isset($_POST['link1']);
158
		$gif['link0'] = isset($_POST['link0']);
157
		if (isset($_POST['link0'])) {
158
			$gif['link0'] = '';
159
		}
160
		if (isset($_POST['link1'])) {
161
			$gif['link1'] = '';
162
		}
159 163
		$gif['gifif'] = $_POST['gifif'];
160 164
		$gif['gifif'] = interface_gif_configure($gif);
161 165

  

Also available in: Unified diff