summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_proxyarp_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-11-11 01:09:53 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-11-11 01:09:53 +0000
commit7a3ec8606d35928e365f3f5e985569d13b6f7037 (patch)
treef46e4bce0b07a818ada3263876cb2e2a23ed3dbc /usr/local/www/services_proxyarp_edit.php
parent23f8662d083b2ed49e2f6961ec668188379363b6 (diff)
downloadpfsense-7a3ec8606d35928e365f3f5e985569d13b6f7037.zip
pfsense-7a3ec8606d35928e365f3f5e985569d13b6f7037.tar.gz
be sure to post interface value
Diffstat (limited to 'usr/local/www/services_proxyarp_edit.php')
-rwxr-xr-xusr/local/www/services_proxyarp_edit.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/usr/local/www/services_proxyarp_edit.php b/usr/local/www/services_proxyarp_edit.php
index d94ebca..3ae36b6 100755
--- a/usr/local/www/services_proxyarp_edit.php
+++ b/usr/local/www/services_proxyarp_edit.php
@@ -2,8 +2,8 @@
<?php
/*
services_proxyarp_edit.php
- part of m0n0wall (http://m0n0.ch/wall)
-
+ Copyright (C) 2004 Scott Ullrich
+ originally part of m0n0wall (http://m0n0.ch/wall)
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
All rights reserved.
@@ -116,6 +116,9 @@ if ($_POST) {
else
$a_proxyarp[] = $arpent;
+ if($_POST['interface'])
+ $arpent['interface'] = $_POST['interface'];
+
touch($d_proxyarpdirty_path);
write_config();
@@ -217,7 +220,8 @@ function typesel_change() {
<?php endif; endfor; ?>
</td>
</tr>
- <tr>
+
+ <tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
<input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
OpenPOWER on IntegriCloud