diff options
author | jim-p <jimp@pfsense.org> | 2016-03-18 12:15:08 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-03-18 12:15:08 -0400 |
commit | 7468ce30d455248c848cc1ef3f7c0a69009a258f (patch) | |
tree | 87426b67507e5a09bdf09b42c0b0d42fe83e770e /src | |
parent | 93520d92eb5d9627449c88cd9127868dcf0e2c1f (diff) | |
download | pfsense-7468ce30d455248c848cc1ef3f7c0a69009a258f.zip pfsense-7468ce30d455248c848cc1ef3f7c0a69009a258f.tar.gz |
GIF had the same problem as GRE with flags, apply the same fix. Ticket #6010
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/interfaces_gif_edit.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/usr/local/www/interfaces_gif_edit.php b/src/usr/local/www/interfaces_gif_edit.php index cbb853d..722ef41 100644 --- a/src/usr/local/www/interfaces_gif_edit.php +++ b/src/usr/local/www/interfaces_gif_edit.php @@ -154,8 +154,12 @@ if ($_POST) { $gif['tunnel-remote-net'] = $_POST['tunnel-remote-net']; $gif['remote-addr'] = $_POST['remote-addr']; $gif['descr'] = $_POST['descr']; - $gif['link1'] = isset($_POST['link1']); - $gif['link0'] = isset($_POST['link0']); + if (isset($_POST['link0'])) { + $gif['link0'] = ''; + } + if (isset($_POST['link1'])) { + $gif['link1'] = ''; + } $gif['gifif'] = $_POST['gifif']; $gif['gifif'] = interface_gif_configure($gif); |