pkgsrc-ng/www/firefox/patches/patch-netwerk_sctp_src_netinet6_sctp6__usrreq.c
2014-08-11 13:27:10 +02:00

14 lines
603 B
C

$NetBSD: patch-netwerk_sctp_src_netinet6_sctp6__usrreq.c,v 1.3 2014/02/20 13:19:03 ryoon Exp $
--- netwerk/sctp/src/netinet6/sctp6_usrreq.c.orig 2013-06-17 22:13:23.000000000 +0000
+++ netwerk/sctp/src/netinet6/sctp6_usrreq.c
@@ -459,6 +459,8 @@ sctp6_notify(struct sctp_inpcb *inp,
(icmph->icmp6_code == ICMP_UNREACH_HOST_PROHIB) ||
#ifdef __Panda__
(icmph->icmp6_code == ICMP_UNREACH_ADMIN)) {
+#elif defined(__Userspace_os_NetBSD)
+ (icmph->icmp6_code == ICMP_UNREACH_ADMIN_PROHIBIT)) {
#else
(icmph->icmp6_code == ICMP_UNREACH_FILTER_PROHIB)) {
#endif