]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
make 'explicit-exit-notify' pullable again
authorJan Just Keijser <janjust@nikhef.nl>
Fri, 24 May 2013 12:36:32 +0000 (14:36 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 24 May 2013 17:38:24 +0000 (19:38 +0200)
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <519F5ED0.4070109@nikhef.nl>
URL: http://article.gmane.org/gmane.network.openvpn.devel/7605

Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 49f714942d5afd5f274aea52c790c896babc8c05)

src/openvpn/options.c

index 606d05bfbade6c6442043ed8e7305e684683de61..8b67dcbc6d20898df5cc566af41157f24c927dda 100644 (file)
@@ -5073,8 +5073,7 @@ add_option (struct options *options,
 #ifdef ENABLE_OCC
   else if (streq (p[0], "explicit-exit-notify"))
     {
-      VERIFY_PERMISSION (OPT_P_GENERAL|OPT_P_CONNECTION);
-/*      VERIFY_PERMISSION (OPT_P_EXPLICIT_NOTIFY); */
+      VERIFY_PERMISSION (OPT_P_GENERAL|OPT_P_CONNECTION|OPT_P_EXPLICIT_NOTIFY);
       if (p[1])
        {
          options->ce.explicit_exit_notification = positive_atoi (p[1]);