aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/openbgpd/openbgpd_neighbors.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/openbgpd/openbgpd_neighbors.xml b/config/openbgpd/openbgpd_neighbors.xml
index be3b7529..d923dd81 100644
--- a/config/openbgpd/openbgpd_neighbors.xml
+++ b/config/openbgpd/openbgpd_neighbors.xml
@@ -169,11 +169,11 @@
echo "found it: $counter";
}
$counter++;
- } else {
- $newoptions['option'][0]['name'] = "";
- $newoptions['option'][0]['value'] = "";
- $pkg['fields']['field'][2]['options'] =$newoptions;
}
+ } else {
+ $newoptions['option'][0]['name'] = "";
+ $newoptions['option'][0]['value'] = "";
+ $pkg['fields']['field'][2]['options'] =$newoptions;
}
</custom_php_command_before_form>
<custom_php_deinstall_command>