From f0275faf6bb050c263e67a9ca410ab4e553c27d8 Mon Sep 17 00:00:00 2001 From: sullrich Date: Wed, 5 Aug 2009 13:24:40 -0400 Subject: Allow a neighbor when no groups are defined. Submitted-by: Evgeny.Yurchenko_AT_frontline.ca --- config/openbgpd/openbgpd_neighbors.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config/openbgpd/openbgpd_neighbors.xml') diff --git a/config/openbgpd/openbgpd_neighbors.xml b/config/openbgpd/openbgpd_neighbors.xml index b938e6fb..be3b7529 100644 --- a/config/openbgpd/openbgpd_neighbors.xml +++ b/config/openbgpd/openbgpd_neighbors.xml @@ -169,6 +169,10 @@ echo "found it: $counter"; } $counter++; + } else { + $newoptions['option'][0]['name'] = ""; + $newoptions['option'][0]['value'] = ""; + $pkg['fields']['field'][2]['options'] =$newoptions; } } -- cgit v1.2.3