Commit 94b3d088 authored by kelsey's avatar kelsey
Browse files

Enable support for multiple middleboxes in the configuration file

parent cc202d5e
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -664,8 +664,6 @@ handle_value_tag_start_do(struct iteration_state *state, enum value_tag tag,
		/* nothing to do */
		/* nothing to do */
		break;
		break;
	case VALUE_TAG_MIDDLEBOX:
	case VALUE_TAG_MIDDLEBOX:
		if (!check_one_tag(state, tag, "middlebox", "config"))
			return (false);
		if (cfg->num_contexts == 0) {
		if (cfg->num_contexts == 0) {
			ERRBUF("at least one context must be configured");
			ERRBUF("at least one context must be configured");
			return (false);
			return (false);