aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-10-16 23:38:31 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-10-16 23:38:31 +0000
commit003130f10696f13a16d22077c1e185c927afbcc5 (patch)
tree51e7dec98fd5ad4c0d96f77beff186fc556af796
parent8b850b8554798416a690a59b0e0993fe8d91aff4 (diff)
downloadpfsense-packages-003130f10696f13a16d22077c1e185c927afbcc5.tar.gz
pfsense-packages-003130f10696f13a16d22077c1e185c927afbcc5.tar.bz2
pfsense-packages-003130f10696f13a16d22077c1e185c927afbcc5.zip
Correcty filtering item logic
-rw-r--r--packages/openbgpd/openbgpd.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/openbgpd/openbgpd.inc b/packages/openbgpd/openbgpd.inc
index 29cd3380..71eed449 100644
--- a/packages/openbgpd/openbgpd.inc
+++ b/packages/openbgpd/openbgpd.inc
@@ -85,7 +85,8 @@ function openbgpd_install_conf() {
}
// OpenBGPD filters
- $conffile .= "deny all\n";
+ $conffile .= "deny from any\n";
+ $conffile .= "deny to any\n";
foreach($openbgpd_neighbors as $neighbor) {
$conffile .= "allow from {$neighbor['neighbor']}\n";
$conffile .= "allow to {$neighbor['neighbor']}\n";