Skip to content

Commit

Permalink
make it compilable with MRT6DEBUG on {net,open}bsd
Browse files Browse the repository at this point in the history
  • Loading branch information
ono committed Oct 31, 2003
1 parent 237d14e commit 7a1d571
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion kame/sys/netinet6/ip6_mroute.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $KAME: ip6_mroute.c,v 1.105 2003/10/15 22:56:26 itojun Exp $ */
/* $KAME: ip6_mroute.c,v 1.106 2003/10/31 08:45:32 ono Exp $ */

/*
* Copyright (C) 1998 WIDE Project.
Expand Down Expand Up @@ -841,9 +841,15 @@ add_m6if(mifcp)
#ifdef MRT6DEBUG
if (mrt6debug)
log(LOG_DEBUG,
#if defined(__NetBSD__) || defined(__OpenBSD__)
"add_mif #%d, phyint %s\n",
mifcp->mif6c_mifi,
ifp->if_xname);
#else
"add_mif #%d, phyint %s%d\n",
mifcp->mif6c_mifi,
ifp->if_name, ifp->if_unit);
#endif
#endif

return (0);
Expand Down

0 comments on commit 7a1d571

Please sign in to comment.