~mcf/plan9front

5886b999d59e733ae46fa413a709d3bcd8c14278 — cinap_lenrek 2 years ago 840d169
devbridge: fix vlan range parsing
1 files changed, 1 insertions(+), 1 deletions(-)

M sys/src/9/port/devbridge.c
M sys/src/9/port/devbridge.c => sys/src/9/port/devbridge.c +1 -1
@@ 586,7 586,7 @@ vlanrange(char *s, int *i, int *j)
		/* -nnn */
		*j = -(*i);
		*i = 1;
	} else if(*s == '-') {
	} else if(*x == '-') {
		/* nnn- */
		s = x;
		*j = -strtol(s, &x, 10);