Module Name:    src
Committed By:   wiz
Date:           Sun Feb 12 13:56:57 UTC 2012

Modified Files:
        src/sbin/routed: defs.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sbin/routed/defs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/routed/defs.h
diff -u src/sbin/routed/defs.h:1.26 src/sbin/routed/defs.h:1.27
--- src/sbin/routed/defs.h:1.26	Mon Aug 29 14:35:04 2011
+++ src/sbin/routed/defs.h	Sun Feb 12 13:56:56 2012
@@ -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 @@ struct rt_entry {
 #	    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 */

Reply via email to