]> granicus.if.org Git - python/commitdiff
Remove double definition of IPPROTO_IPV6 (#100)
authorMaximilian Hils <git@maximilianhils.com>
Tue, 14 Feb 2017 22:46:08 +0000 (23:46 +0100)
committerBerker Peksag <berker.peksag@gmail.com>
Tue, 14 Feb 2017 22:46:08 +0000 (01:46 +0300)
IPPROTO_IPV6 is already defined further above in the same way.

Modules/socketmodule.c

index 8d0f9e6df8a718884f379703323d8d95e4dddba8..7aa213e082f8c1a1dd75b5742c542b8c90ea817c 100644 (file)
@@ -7238,9 +7238,6 @@ PyInit__socket(void)
 #ifdef  IPPROTO_TP
     PyModule_AddIntMacro(m, IPPROTO_TP);
 #endif
-#ifdef  IPPROTO_IPV6
-    PyModule_AddIntMacro(m, IPPROTO_IPV6);
-#endif
 #ifdef  IPPROTO_ROUTING
     PyModule_AddIntMacro(m, IPPROTO_ROUTING);
 #endif