From 2ff48aab7d0e0a07f0f6d5b2f85fc3b8b0aaf5b6 Mon Sep 17 00:00:00 2001 From: brian Date: Thu, 13 May 1999 17:09:44 +0000 Subject: Oops - missing parenthesis --- sbin/natd/natd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/natd/natd.c') diff --git a/sbin/natd/natd.c b/sbin/natd/natd.c index 6adb85a..d67944e 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) { -- cgit v1.1