format 'not supported on this platform' error message
[oweals/tinc.git] / src / net_setup.c
index 752677941e4ad4d4953f1e8d8eba6f0c4ee031de..f41f9527df89d34d929dfdbec6676f35a10c546f 100644 (file)
@@ -314,7 +314,7 @@ bool setup_myself(void)
 
 #if !defined(SOL_IP) || !defined(IP_TOS)
        if(priorityinheritance)
-               logger(LOG_WARNING, _("PriorityInheritance not supported on this platform"));
+               logger(LOG_WARNING, _("%s not supported on this platform"), "PriorityInheritance");
 #endif
 
        if(!get_config_int(lookup_config(config_tree, "MACExpire"), &macexpire))
@@ -503,9 +503,9 @@ bool setup_myself(void)
 }
 
 /*
-  setup all initial network connections
+  initialize network
 */
-bool setup_network_connections(void)
+bool setup_network(void)
 {
        cp();
 
@@ -536,8 +536,6 @@ bool setup_network_connections(void)
        if(!setup_myself())
                return false;
 
-       try_outgoing_connections();
-
        return true;
 }