[ds6-devel] nc6/src parser.c,1.31,1.32

chris at deepspace6.net chris at deepspace6.net
Mon Jan 6 15:00:07 CET 2003


Update of /cvs/nc6/src

Modified Files:
	parser.c 
Log Message:
No need to call fatal if user specifies address family twice - just use the
last call (allows people to override aliased commands for instance).


Index: parser.c
===================================================================
RCS file: /cvs/nc6/src/parser.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- parser.c	4 Jan 2003 14:20:24 -0000	1.31
+++ parser.c	6 Jan 2003 14:00:05 -0000	1.32
@@ -158,13 +158,9 @@
 			}
 			break;
 		case '4':
-			if (family != PROTO_UNSPECIFIED) 
-			    fatal("cannot specify the address family twice");
 			family = PROTO_IPv4;
 			break;
 		case '6':	
-			if (family != PROTO_UNSPECIFIED) 
-			    fatal("cannot specify the address family twice");
 			family = PROTO_IPv6;
 			set_flag(STRICT_IPV6);
 			break;



More information about the ds6-devel mailing list