From 003130f10696f13a16d22077c1e185c927afbcc5 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 16 Oct 2007 23:38:31 +0000 Subject: Correcty filtering item logic --- packages/openbgpd/openbgpd.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages') 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"; -- cgit v1.2.3