]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fix warning for max-routes: do not quit when parsing an old configuration. Format...
authorArne Schwabe <arne@rfc2549.org>
Mon, 17 Mar 2014 12:45:45 +0000 (13:45 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 17 Mar 2014 18:35:35 +0000 (19:35 +0100)
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1395060345-30870-1-git-send-email-arne@rfc2549.org>
URL: http://article.gmane.org/gmane.network.openvpn.devel/8354

Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/options.c

index 34cb64244c4ed6f51491310fab0d625dcbea6245..c4d9e51239701401e132459759b3a15bd522a64c 100644 (file)
@@ -5227,8 +5227,10 @@ add_option (struct options *options,
     }
   else if (streq (p[0], "max-routes"))
     {
-      msg (msglevel, "--max-routes option ignored. The number of routes is unlimited as of version 2.4. "
-           "This option will be removed in a future version, please remove it from your configuration.");
+      msg (M_WARN, "DEPRECATED OPTION: --max-routes option ignored."
+          "The number of routes is unlimited as of version 2.4. "
+          "This option will be removed in a future version, "
+          "please remove it from your configuration.");
     }
   else if (streq (p[0], "route-gateway") && p[1])
     {