Skip to content

Commit

Permalink
removed a redundant call to in6_embedscope().
Browse files Browse the repository at this point in the history
  • Loading branch information
jinmei committed Apr 9, 2004
1 parent e80e76a commit 561519e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions kame/sys/netinet6/udp6_output.c
@@ -1,4 +1,4 @@
/* $KAME: udp6_output.c,v 1.76 2004/02/09 18:55:33 t-momose Exp $ */
/* $KAME: udp6_output.c,v 1.77 2004/04/09 09:54:06 jinmei Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Expand Down Expand Up @@ -220,9 +220,6 @@ udp6_output(in6p, m, addr6, control)

if ((error = scope6_check_id(fsa6, ip6_use_defzone)) != 0)
return (error);

if ((error = in6_embedscope(&fsa6->sin6_addr, fsa6)) != 0)
return (error);
}

if (control) {
Expand Down

0 comments on commit 561519e

Please sign in to comment.