Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/routed Remove duplicate RS_LOCAL. From cppcheck via Hen...



details:   https://anonhg.NetBSD.org/src/rev/942a6f6a06b7
branches:  trunk
changeset: 773668:942a6f6a06b7
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Feb 12 13:56:56 2012 +0000

description:
Remove duplicate RS_LOCAL. From cppcheck via Henning Petersen in PR 46000.

diffstat:

 sbin/routed/defs.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b80076b66e59 -r 942a6f6a06b7 sbin/routed/defs.h
--- a/sbin/routed/defs.h        Sun Feb 12 13:55:27 2012 +0000
+++ b/sbin/routed/defs.h        Sun Feb 12 13:56:56 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: defs.h,v 1.26 2011/08/29 14:35:04 joerg Exp $  */
+/*     $NetBSD: defs.h,v 1.27 2012/02/12 13:56:56 wiz Exp $    */
 
 /*
  * Copyright (c) 1983, 1988, 1993
@@ -207,7 +207,7 @@
 #          define RS_IF        0x001   /* for network interface */
 #          define RS_NET_INT   0x002   /* authority route */
 #          define RS_NET_SYN   0x004   /* fake net route for subnet */
-#          define RS_NO_NET_SYN (RS_LOCAL | RS_LOCAL | RS_IF)
+#          define RS_NO_NET_SYN (RS_LOCAL | RS_IF)
 #          define RS_SUBNET    0x008   /* subnet route from any source */
 #          define RS_LOCAL     0x010   /* loopback for pt-to-pt */
 #          define RS_MHOME     0x020   /* from -m */



Home | Main Index | Thread Index | Old Index