Skip to content

Commit

Permalink
ip6_setpktoptions->ip6_setpktopts
Browse files Browse the repository at this point in the history
  • Loading branch information
jinmei committed Nov 2, 2003
1 parent 49dc703 commit 2540809
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions freebsd4/sys/netinet6/raw_ip6.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,10 +354,8 @@ rip6_output(m, so, dstsock, control)
priv = 1;
dst = &dstsock->sin6_addr;
if (control) {
if ((error = ip6_setpktoptions(control, &opt,
stickyopt, priv, 0,
so->so_proto->pr_protocol))
!= 0) {
if ((error = ip6_setpktopts(control, &opt,
stickyopt, priv, 0, so->so_proto->pr_protocol)) != 0) {
goto bad;
}
in6p->in6p_outputopts = &opt;
Expand Down

0 comments on commit 2540809

Please sign in to comment.