Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- usr.sbin/relayd/check_icmp.c.orig Fri Apr 6 14:11:58 2012
- +++ usr.sbin/relayd/check_icmp.c Fri Apr 6 14:14:34 2012
- @@ -58,10 +58,12 @@
- if (af == AF_INET6)
- proto = IPPROTO_ICMPV6;
- if ((cie->s = socket(af, SOCK_RAW, proto)) < 0)
- - fatal("icmp_init: socket");
- - socket_set_blockmode(cie->s, BM_NONBLOCK);
- - cie->env = env;
- - cie->af = af;
- + warn("socket");
- + else {
- + socket_set_blockmode(cie->s, BM_NONBLOCK);
- + cie->env = env;
- + cie->af = af;
- + }
- }
- void
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement