Skip to content

Commit

Permalink
Remove double definition of IPPROTO_IPV6 (#100)
Browse files Browse the repository at this point in the history
IPPROTO_IPV6 is already defined further above in the same way.
  • Loading branch information
mhils authored and berkerpeksag committed Feb 14, 2017
1 parent 6de2b78 commit 5ec08ce
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Modules/socketmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5ec08ce

Please sign in to comment.