Skip to content

Commit

Permalink
remove debug printf()
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed May 27, 2001
1 parent 0ca59dd commit f42f7bb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions kame/sys/netinet6/udp6_usrreq.c
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $KAME: udp6_usrreq.c,v 1.85 2001/05/21 09:04:24 itojun Exp $ */ /* $KAME: udp6_usrreq.c,v 1.86 2001/05/27 17:33:00 itojun Exp $ */


/* /*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Expand Down Expand Up @@ -425,7 +425,6 @@ udp6_input(mp, offp, proto)
#endif #endif
udp6stat.udp6s_noport++; udp6stat.udp6s_noport++;
if (m->m_flags & M_MCAST) { if (m->m_flags & M_MCAST) {
printf("UDP6: M_MCAST is set in a unicast packet.\n");
udp6stat.udp6s_noportmcast++; udp6stat.udp6s_noportmcast++;
goto bad; goto bad;
} }
Expand Down Expand Up @@ -806,10 +805,8 @@ udp6_usrreq(so, req, m, addr6, control)
} }


release: release:
if (control) { if (control)
printf("udp control data unexpectedly retained\n");
m_freem(control); m_freem(control);
}
if (m) if (m)
m_freem(m); m_freem(m);
return(error); return(error);
Expand Down

0 comments on commit f42f7bb

Please sign in to comment.