aboutsummaryrefslogtreecommitdiffstats
path: root/packages/openbgpd/openbgpd.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openbgpd/openbgpd.inc')
-rw-r--r--packages/openbgpd/openbgpd.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/openbgpd/openbgpd.inc b/packages/openbgpd/openbgpd.inc
index aff02c24..4f73ed71 100644
--- a/packages/openbgpd/openbgpd.inc
+++ b/packages/openbgpd/openbgpd.inc
@@ -131,6 +131,7 @@ function openbgpd_install_conf() {
function deinstall_openbgpd() {
exec("rm /usr/local/etc/rc.d/bgpd.sh");
+ exec("rm /usr/local/www/openbgpd_status.php");
exec("killall bgpd");
}
@@ -144,11 +145,11 @@ function check_group_usage($groupname) {
foreach($openbgpd_groups as $group) {
foreach($openbgpd_neighbors as $neighbor) {
if($neighbor['groupname'] == $group['name'])
- return true;
+ return $neighbor['groupname'];
}
}
}
- return false;
+ return "";
}
function grey_out_value_boxes() {