diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/routed/Makefile | 3 | ||||
-rw-r--r-- | sbin/routed/input.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sbin/routed/Makefile b/sbin/routed/Makefile index 4420b69f434..2ffb27523e3 100644 --- a/sbin/routed/Makefile +++ b/sbin/routed/Makefile @@ -1,6 +1,9 @@ # $NetBSD: Makefile,v 1.14 1995/06/20 22:25:51 christos Exp $ # @(#)Makefile 8.1 (Berkeley) 6/19/93 +# disable an undesirable feature +#CFLAGS=-DTRACING + PROG= routed SRCS= af.c if.c input.c main.c output.c startup.c tables.c timer.c \ trace.c inet.c diff --git a/sbin/routed/input.c b/sbin/routed/input.c index 31b0dd63ba2..ed732d3282e 100644 --- a/sbin/routed/input.c +++ b/sbin/routed/input.c @@ -175,6 +175,7 @@ rip_input(from, rip, size) case RIPCMD_TRACEON: case RIPCMD_TRACEOFF: /* verify message came from a privileged port */ +#ifdef TRACING if ((*afp->af_portcheck)(from) == 0) return; @@ -186,6 +187,7 @@ rip_input(from, rip, size) traceon(rip->rip_tracefile); else traceoff(); +#endif return; case RIPCMD_RESPONSE: |