diff options
Diffstat (limited to 'sbin/pfctl/parse.y')
-rw-r--r-- | sbin/pfctl/parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 3c91a6953a7..05f4941c508 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.179 2002/11/02 14:13:42 dhartmei Exp $ */ +/* $OpenBSD: parse.y,v 1.180 2002/11/02 15:29:28 dhartmei Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -1957,7 +1957,7 @@ expand_label_addr(const char *name, char *label, sa_family_t af, a[0] = 0; if ((af == AF_INET && bits < 32) || (af == AF_INET6 && bits < 128)) - snprintf(a, sizeof(a), "/%i", bits); + snprintf(a, sizeof(a), "/%d", bits); strlcat(tmp, a, PF_RULE_LABEL_SIZE); } strlcat(tmp, p+strlen(name), PF_RULE_LABEL_SIZE); |