Skip to content

Commit

Permalink
don't bark on nd6_storelladdr failure
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed Oct 15, 2000
1 parent 3883503 commit 54c7754
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 16 deletions.
3 changes: 1 addition & 2 deletions freebsd2/sys/net/if_ethersubr.c
Expand Up @@ -233,8 +233,7 @@ ether_output(ifp, m0, dst, rt0)
return(0); /* if not yet resolves */ return(0); /* if not yet resolves */
#else #else
if (!nd6_storelladdr(&ac->ac_if, rt, m, dst, (u_char *)edst)) { if (!nd6_storelladdr(&ac->ac_if, rt, m, dst, (u_char *)edst)) {
/* this must be impossible, so we bark */ /* something bad happened */
printf("nd6_storelladdr failed\n");
return(0); return(0);
} }
#endif /* OLDIP6OUTPUT */ #endif /* OLDIP6OUTPUT */
Expand Down
3 changes: 1 addition & 2 deletions freebsd2/sys/net/if_fddisubr.c
Expand Up @@ -226,8 +226,7 @@ fddi_output(ifp, m0, dst, rt0)
return (0); /* if not yet resolved */ return (0); /* if not yet resolved */
#else #else
if (!nd6_storelladdr(&ac->ac_if, rt, m, dst, (u_char *)edst)) { if (!nd6_storelladdr(&ac->ac_if, rt, m, dst, (u_char *)edst)) {
/* this must be impossible, so we bark */ /* something bad happened */
printf("nd6_storelladdr failed\n");
return(0); return(0);
} }
#endif /* OLDIP6OUTPUT */ #endif /* OLDIP6OUTPUT */
Expand Down
3 changes: 1 addition & 2 deletions freebsd3/sys/net/if_ethersubr.c
Expand Up @@ -272,8 +272,7 @@ ether_output(ifp, m0, dst, rt0)
return(0); /* if not yet resolves */ return(0); /* if not yet resolves */
#else #else
if (!nd6_storelladdr(&ac->ac_if, rt, m, dst, (u_char *)edst)) { if (!nd6_storelladdr(&ac->ac_if, rt, m, dst, (u_char *)edst)) {
/* this must be impossible, so we bark */ /* something bad happened */
printf("nd6_storelladdr failed\n");
return(0); return(0);
} }
#endif /* OLDIP6OUTPUT */ #endif /* OLDIP6OUTPUT */
Expand Down
3 changes: 1 addition & 2 deletions freebsd3/sys/net/if_fddisubr.c
Expand Up @@ -219,8 +219,7 @@ fddi_output(ifp, m0, dst, rt0)
return (0); /* if not yet resolved */ return (0); /* if not yet resolved */
#else #else
if (!nd6_storelladdr(&ac->ac_if, rt, m, dst, (u_char *)edst)) { if (!nd6_storelladdr(&ac->ac_if, rt, m, dst, (u_char *)edst)) {
/* this must be impossible, so we bark */ /* something bad happened */
printf("nd6_storelladdr failed\n");
return(0); return(0);
} }
#endif /* OLDIP6OUTPUT */ #endif /* OLDIP6OUTPUT */
Expand Down
3 changes: 1 addition & 2 deletions freebsd4/sys/net/if_ethersubr.c
Expand Up @@ -189,8 +189,7 @@ ether_output(ifp, m, dst, rt0)
return(0); /* if not yet resolves */ return(0); /* if not yet resolves */
#else #else
if (!nd6_storelladdr(&ac->ac_if, rt, m, dst, (u_char *)edst)) { if (!nd6_storelladdr(&ac->ac_if, rt, m, dst, (u_char *)edst)) {
/* this must be impossible, so we bark */ /* something bad happened */
printf("nd6_storelladdr failed\n");
return(0); return(0);
} }
#endif /* OLDIP6OUTPUT */ #endif /* OLDIP6OUTPUT */
Expand Down
3 changes: 1 addition & 2 deletions freebsd4/sys/net/if_fddisubr.c
Expand Up @@ -180,8 +180,7 @@ fddi_output(ifp, m, dst, rt0)
return (0); /* if not yet resolved */ return (0); /* if not yet resolved */
#else #else
if (!nd6_storelladdr(&ac->ac_if, rt, m, dst, (u_char *)edst)) { if (!nd6_storelladdr(&ac->ac_if, rt, m, dst, (u_char *)edst)) {
/* this must be impossible, so we bark */ /* something bad happened */
printf("nd6_storelladdr failed\n");
return(0); return(0);
} }
#endif /* OLDIP6OUTPUT */ #endif /* OLDIP6OUTPUT */
Expand Down
3 changes: 1 addition & 2 deletions netbsd/sys/net/if_ethersubr.c
Expand Up @@ -276,8 +276,7 @@ ether_output(ifp, m0, dst, rt0)
return(0); /* if not yet resolves */ return(0); /* if not yet resolves */
#else #else
if (!nd6_storelladdr(ifp, rt, m, dst, (u_char *)edst)){ if (!nd6_storelladdr(ifp, rt, m, dst, (u_char *)edst)){
/* this must be impossible, so we bark */ /* something bad happened */
printf("nd6_storelladdr failed\n");
return(0); return(0);
} }
#endif /* OLDIP6OUTPUT */ #endif /* OLDIP6OUTPUT */
Expand Down
3 changes: 1 addition & 2 deletions netbsd/sys/net/if_fddisubr.c
Expand Up @@ -273,8 +273,7 @@ fddi_output(ifp, m0, dst, rt0)
return (0); /* if not yet resolved */ return (0); /* if not yet resolved */
#else #else
if (!nd6_storelladdr(ifp, rt, m, dst, (u_char *)edst)){ if (!nd6_storelladdr(ifp, rt, m, dst, (u_char *)edst)){
/* this must be impossible, so we bark */ /* something bad happened */
printf("nd6_storelladdr failed\n");
return(0); return(0);
} }
#endif /* OLDIP6OUTPUT */ #endif /* OLDIP6OUTPUT */
Expand Down

0 comments on commit 54c7754

Please sign in to comment.