From 396ac4be802f8b75c5a2ab5925925427c61c1da3 Mon Sep 17 00:00:00 2001
From: Guus Sliepen <guus@tinc-vpn.org>
Date: Mon, 1 Nov 2004 15:16:12 +0000
Subject: [PATCH] Correct return value.

---
 src/subnet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/subnet.c b/src/subnet.c
index d4e6c99e..aca1912b 100644
--- a/src/subnet.c
+++ b/src/subnet.c
@@ -284,7 +284,7 @@ bool net2str(char *netstr, int len, const subnet_t *subnet)
 			exit(0);
 	}
 
-	return netstr;
+	return true;
 }
 
 /* Subnet lookup routines */
-- 
2.39.5