]> 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:36:55 +0000 (19:36 +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>
src/openvpn/options.c

index d44f8354b7ee87a3fd6379e668bff7010f495f98..47df4cb5ffbae37092c05459054b817c8e3f0d5d 100644 (file)
@@ -5084,8 +5084,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]);