BGP tests had been broken by auto-creation of listen socket. This allows
them to run at least, though at least 1 test seems to have other breakage,
aspath_test.
int i = 0;
bgp_master_init ();
master = bm->master;
+ bgp_option_set (BGP_OPT_NO_LISTEN);
bgp_attr_init ();
while (test_segments[i].name)
master = thread_master_create ();
bgp_master_init ();
+ bgp_option_set (BGP_OPT_NO_LISTEN);
if (fileno (stdout) >= 0)
tty = isatty (fileno (stdout));
master = thread_master_create ();
bgp_master_init ();
+ bgp_option_set (BGP_OPT_NO_LISTEN);
if (fileno (stdout) >= 0)
tty = isatty (fileno (stdout));
master = thread_master_create ();
zclient = zclient_new ();
bgp_master_init ();
-
+ bgp_option_set (BGP_OPT_NO_LISTEN);
+
if (fileno (stdout) >= 0)
tty = isatty (fileno (stdout));
return 0;