View | Details | Raw Unified | Return to bug 275006
Collapse All | Expand All

(-)b/lib/libpfctl/libpfctl.c (-1 / +1 lines)
Lines 643-649 pfctl_add_rule(int dev, const struct pfctl_rule *r, const char *anchor, Link Here
643
	labelcount = 0;
643
	labelcount = 0;
644
	while (labelcount < PF_RULE_MAX_LABEL_COUNT &&
644
	while (labelcount < PF_RULE_MAX_LABEL_COUNT &&
645
	    r->label[labelcount][0] != 0) {
645
	    r->label[labelcount][0] != 0) {
646
		nvlist_append_string_array(nvl, "labels",
646
		nvlist_append_string_array(nvlr, "labels",
647
		    r->label[labelcount]);
647
		    r->label[labelcount]);
648
		labelcount++;
648
		labelcount++;
649
	}
649
	}

Return to bug 275006