Skip to content
Browse files

mandatory typecast

  • Loading branch information...
1 parent 6f7e536 commit a070c62e855574ffa4cb8f84a5823272c560507d itojun committed Nov 19, 2000
Showing with 2 additions and 1 deletion.
  1. +2 −1 openbsd/sys/netinet6/in6_pcb.c
View
3 openbsd/sys/netinet6/in6_pcb.c
@@ -614,7 +614,8 @@ in6_pcbnotify(head, dst, fport_arg, la, lport_arg, cmd, cmdarg, notify)
if (cmd == PRC_MSGSIZE && (inp->inp_flags & IN6P_MTU) != 0 &&
(IN6_IS_ADDR_UNSPECIFIED(&inp->inp_faddr6) ||
IN6_ARE_ADDR_EQUAL(&inp->inp_faddr6, faddr))) {
- ip6_notify_pmtu(inp, dst, (u_int32_t *)cmdarg);
+ ip6_notify_pmtu(inp, (struct sockaddr_in6 *)dst,
+ (u_int32_t *)cmdarg);
}
if (!IN6_ARE_ADDR_EQUAL(&inp->inp_faddr6, faddr) ||

0 comments on commit a070c62

Please sign in to comment.
Something went wrong with that request. Please try again.