missing flag
authorMichael Wallner <mike@php.net>
Fri, 1 Aug 2014 19:35:23 +0000 (21:35 +0200)
committerMichael Wallner <mike@php.net>
Fri, 1 Aug 2014 19:35:23 +0000 (21:35 +0200)
php_ares.c

index 680c4d9c8cf9cead446a1bb4155f7e7fc8679e48..f7e26f7ef0faf3b2447004d246a8982c3882f3b1 100644 (file)
@@ -1829,6 +1829,9 @@ static PHP_MINIT_FUNCTION(ares)
        REGISTER_LONG_CONSTANT("ARES_FLAG_NOSEARCH", ARES_FLAG_NOSEARCH, CONST_PERSISTENT|CONST_CS);
        REGISTER_LONG_CONSTANT("ARES_FLAG_NOALIASES", ARES_FLAG_NOALIASES, CONST_PERSISTENT|CONST_CS);
        REGISTER_LONG_CONSTANT("ARES_FLAG_NOCHECKRESP", ARES_FLAG_NOCHECKRESP, CONST_PERSISTENT|CONST_CS);
+#ifdef ARES_FLAG_EDNS
+       REGISTER_LONG_CONSTANT("ARES_FLAG_EDNS", ARES_FLAG_EDNS, CONST_PERSISTENT|CONST_CS);
+#endif
        
        /*
         * Address Family Constants