Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed a type mismatch.
  • Loading branch information
jinmei committed Feb 7, 2003
1 parent 13261d1 commit fb3a046
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions kame/sys/netinet/sctp_output.c
@@ -1,4 +1,4 @@
/* $KAME: sctp_output.c,v 1.18 2003/02/07 09:34:37 jinmei Exp $ */
/* $KAME: sctp_output.c,v 1.19 2003/02/07 10:16:40 jinmei Exp $ */
/* Header: /home/sctpBsd/netinet/sctp_output.c, v 1.308 2002/04/04 18:47:03 randall Exp */

/*
Expand Down Expand Up @@ -3005,7 +3005,7 @@ sctp_send_initiate_ack(struct sctp_inpcb *inp,
stc.local_scope = 0;
stc.site_scope = 1;
/* pull out the scope_id from the incoming packet */
if (ip6_getpktaddrs(in_initpkt, src, NULL)) {
if (ip6_getpktaddrs(in_initpkt, &src, NULL)) {
/* hmm... this is bad- can't get the scope! */
#ifdef SCTP_DEBUG
if (sctp_debug_on & SCTP_DEBUG_OUTPUT1) {
Expand Down
4 changes: 2 additions & 2 deletions kame/sys/netinet6/raw_ip6.c
@@ -1,4 +1,4 @@
/* $KAME: raw_ip6.c,v 1.135 2003/02/07 09:34:40 jinmei Exp $ */
/* $KAME: raw_ip6.c,v 1.136 2003/02/07 10:19:40 jinmei Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Expand Down Expand Up @@ -241,7 +241,7 @@ rip6_input(mp, offp, proto)
in6p->in6p_ip6.ip6_nxt != proto)
continue;
if (!SA6_IS_ADDR_UNSPECIFIED(&in6p->in6p_lsa) &&
!SA6_ARE_ADDR_EQUAL(&in6p->in6p_lsa, dst))
!SA6_ARE_ADDR_EQUAL(&in6p->in6p_lsa, &dst))
continue;
if (!SA6_IS_ADDR_UNSPECIFIED(&in6p->in6p_fsa) &&
!SA6_ARE_ADDR_EQUAL(&in6p->in6p_fsa, &src))
Expand Down

0 comments on commit fb3a046

Please sign in to comment.