Describe your package here Describe your package requirements here Currently there are no FAQ items provided. OpenBGPDNeighbors 1 Services: OpenBGPD Neighbors /usr/local/pkg/openbgpd.inc Settings /pkg_edit.php?xml=openbgpd.xml&id=0 Neighbors /pkg.php?xml=openbgpd_neighbors.xml Groups /pkg.php?xml=openbgpd_groups.xml Raw config /openbgpd_raw.php Status /openbgpd_status.php Description descr Group groupname Neighbor neighbor Description descr input 80 Neighbor neighbor Neighbor IP address input 25 Group groupname Add neighbor to BGP group. select none none rowhelper Paramaters paramaters Neighbor settings. select Value parmvalue input 25 $newoptions = array(); $new_groups = array(); if($config['installedpackages']['openbgpdgroups']['config']) { foreach($config['installedpackages']['openbgpdgroups']['config'] as $item) $new_groups[] = $item['name']; $counter = 0; foreach($new_groups as $group) { $newoptions['option'][$counter]['name'] = $group; $newoptions['option'][$counter]['value'] = $group; $counter++; } $newoptions['option'][$counter]['name'] = ""; $newoptions['option'][$counter]['value'] = ""; $pkg['fields']['field'][2]['options'] = $newoptions; $counter = 0; foreach($pkg['fields']['field'] as $field) { if($field['name'] == "group") { $foundgroupid = $counter; echo "found it: $counter"; } $counter++; } } else { $newoptions['option'][0]['name'] = ""; $newoptions['option'][0]['value'] = ""; $pkg['fields']['field'][2]['options'] =$newoptions; } openbgpd_install_conf(); grey_out_value_boxes();