Permalink
Browse files

operator ordering

  • Loading branch information...
jinmei
jinmei committed Nov 4, 2001
1 parent 1728651 commit 3866f00ab84db874bd4000658d123112ec0a074b
Showing with 4 additions and 4 deletions.
  1. +4 −4 kame/sys/netinet6/in6_src.c
@@ -1,4 +1,4 @@
-/* $KAME: in6_src.c,v 1.86 2001/11/04 12:15:53 jinmei Exp $ */
+/* $KAME: in6_src.c,v 1.87 2001/11/04 16:16:33 jinmei Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -614,9 +614,9 @@ in6_selectroute(dstsock, opts, mopts, ro, retifp, retrt, clone)
*/
ron = &opts->ip6po_nextroute;
if (ron->ro_rt &&
- (ron->ro_rt->rt_flags & (RTF_UP | RTF_LLINFO)) !=
- (RTF_UP | RTF_LLINFO) ||
- !SA6_ARE_ADDR_EQUAL(satosin6(&ron->ro_dst), sin6_next)) {
+ ((ron->ro_rt->rt_flags & (RTF_UP | RTF_LLINFO)) !=
+ (RTF_UP | RTF_LLINFO) ||
+ !SA6_ARE_ADDR_EQUAL(satosin6(&ron->ro_dst), sin6_next))) {
if (ron->ro_rt) {
RTFREE(ron->ro_rt);
ron->ro_rt = NULL;

0 comments on commit 3866f00

Please sign in to comment.