summary refs log tree commit diff stats
path: root/lib/posix/posix_other_consts.nim
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2019-01-05 21:12:53 +0000
committerDominik Picheta <dominikpicheta@googlemail.com>2019-01-06 20:23:44 +0000
commit2fa35126b09e3487fbb82328238e59b9a4dd6d4c (patch)
tree869c4f2600d3c9ed82510ed7bdb01f3e87f7493d /lib/posix/posix_other_consts.nim
parentf3bd3691e796f4be5d522b4d0d1c64e30f985e68 (diff)
downloadNim-2fa35126b09e3487fbb82328238e59b9a4dd6d4c.tar.gz
Fix getAddrInfo, add IPPROTO_ICMPV6 Closes #10198
Diffstat (limited to 'lib/posix/posix_other_consts.nim')
-rw-r--r--lib/posix/posix_other_consts.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/posix/posix_other_consts.nim b/lib/posix/posix_other_consts.nim
index 2b4b70941..cd5199078 100644
--- a/lib/posix/posix_other_consts.nim
+++ b/lib/posix/posix_other_consts.nim
@@ -302,6 +302,7 @@ var IF_NAMESIZE* {.importc: "IF_NAMESIZE", header: "<net/if.h>".}: cint
 var IPPROTO_IP* {.importc: "IPPROTO_IP", header: "<netinet/in.h>".}: cint
 var IPPROTO_IPV6* {.importc: "IPPROTO_IPV6", header: "<netinet/in.h>".}: cint
 var IPPROTO_ICMP* {.importc: "IPPROTO_ICMP", header: "<netinet/in.h>".}: cint
+var IPPROTO_ICMPV6* {.importc: "IPPROTO_ICMPV6", header: "<netinet/in.h>".}: cint
 var IPPROTO_RAW* {.importc: "IPPROTO_RAW", header: "<netinet/in.h>".}: cint
 var IPPROTO_TCP* {.importc: "IPPROTO_TCP", header: "<netinet/in.h>".}: cint
 var IPPROTO_UDP* {.importc: "IPPROTO_UDP", header: "<netinet/in.h>".}: cint