Blob Blame History Raw
diff --git a/tcpip/rip98d.c b/tcpip/rip98d.c
index e40f21b..a672451 100644
--- a/tcpip/rip98d.c
+++ b/tcpip/rip98d.c
@@ -32,9 +32,9 @@ struct dest_struct dest_list[50];
 
 int dest_count = 0;
 
-int debug      = FALSE;
-int restrict   = FALSE;
-int logging    = FALSE;
+int debug         = FALSE;
+int rip_restrict  = FALSE;
+int logging       = FALSE;
 
 struct route_struct *first_route = NULL;
 
@@ -203,7 +203,7 @@ static int read_routes(void)
 			continue;
 		}
 
-		if (restrict) {
+		if (rip_restrict) {
 			if (inet_netof(address) != 44) {
 				if (debug && logging)
 					syslog(LOG_DEBUG, "rejecting route to %s/%ld - not ampr.org\n", inet_ntoa(address), netmask);
@@ -286,7 +286,7 @@ int main(int argc, char **argv)
 				logging = TRUE;
 				break;
 			case 'r':
-				restrict = TRUE;
+				rip_restrict = TRUE;
 				break; 
 			case 't':
 				interval = atoi(optarg) * 60;
diff --git a/tcpip/rip98d.h b/tcpip/rip98d.h
index fb00a7d..a3edadb 100644
--- a/tcpip/rip98d.h
+++ b/tcpip/rip98d.h
@@ -44,7 +44,7 @@ extern struct dest_struct dest_list[];
 extern int dest_count;
 
 extern int debug;
-extern int restrict;
+extern int rip_restrict;
 extern int logging;
 
 /* In rip98d.c */
diff --git a/tcpip/rip98r.c b/tcpip/rip98r.c
index 25cb546..c495fc0 100644
--- a/tcpip/rip98r.c
+++ b/tcpip/rip98r.c
@@ -127,7 +127,7 @@ void receive_routes(int s)
 			continue;
 		}
 
-		if (restrict) {
+		if (rip_restrict) {
 			if (network != 44) {
 				if (debug && logging)
 					syslog(LOG_DEBUG, "    route to %s/%d metric %d - rejected\n", inet_ntoa(addr), bits, metric);