From 29d97436c5c15edc15c42ec702a0d2296e502123 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Thu, 13 May 1999 17:09:44 +0000 Subject: [PATCH] Oops - missing parenthesis --- sbin/natd/natd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/natd/natd.c b/sbin/natd/natd.c index 6adb85adbdf1..d67944e23706 100644 --- a/sbin/natd/natd.c +++ b/sbin/natd/natd.c @@ -9,7 +9,7 @@ * * Ari Suutari * - * $Id: natd.c,v 1.15 1999/04/25 22:33:30 imp Exp $ + * $Id: natd.c,v 1.16 1999/05/13 16:58:31 brian Exp $ */ #define SYSLOG_NAMES @@ -1431,7 +1431,7 @@ void SetupPortRedirect (const char* parms) errx (1, "redirect_port: port ranges must be equal in size"); /* Remote port range is allowed to be '0' which means all ports. */ - if (numRemotePorts != numLocalPorts && (numRemotePorts != 1 || remotePort != 0) + if (numRemotePorts != numLocalPorts && (numRemotePorts != 1 || remotePort != 0)) errx (1, "redirect_port: remote port must be 0 or equal to local port range in size"); for (i = 0 ; i < numPublicPorts ; ++i) {