Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /inc/sipwitch/mapped.h [c9712f] .. [3965e0] Maximize Restore

  Switch to side-by-side view

--- a/inc/sipwitch/mapped.h
+++ b/inc/sipwitch/mapped.h
@@ -51,7 +51,7 @@
 #define	USER_PROFILE_DEFAULT		0x0fff
 #define	USER_PROFILE_RESTRICTED	(0)
 
-#define	MAX_POLICY_SIZE		32
+#define	MAX_NETWORK_SIZE	16		// based on cidr name size...
 #define	MAX_PATTERN_SIZE	16
 #define	MAX_DISPLAY_SIZE	64
 #define	MAX_USERID_SIZE		48
@@ -78,7 +78,7 @@
 	char	userid[MAX_USERID_SIZE];
 	char	display[MAX_DISPLAY_SIZE];
 	char	remote[MAX_USERID_SIZE];
-	char	policy[MAX_POLICY_SIZE];
+	char	network[MAX_NETWORK_SIZE];
 	status_t status;
 	enum {EXPIRED = 0, USER, GATEWAY, SERVICE, REJECT, REFER, TEMPORARY, EXTERNAL} type;
 	bool hidden;