diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-08-16 11:46:57 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-08-16 11:46:57 +0000 |
commit | d64a7d79fc33fe1332cb6af09067b0140772da17 (patch) | |
tree | 2b469156293a0d722e5a4fba23a010bfb5fa332d /sbin/pfctl/pfctl_parser.c | |
parent | 43fdd3af1731a508460f1006821f8bee6039a971 (diff) |
track the line number per-token, so that we can report errors correctly
Diffstat (limited to 'sbin/pfctl/pfctl_parser.c')
-rw-r--r-- | sbin/pfctl/pfctl_parser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c index 1fff22a4774..d2f4d35e02b 100644 --- a/sbin/pfctl/pfctl_parser.c +++ b/sbin/pfctl/pfctl_parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.c,v 1.40 2001/08/11 12:05:00 dhartmei Exp $ */ +/* $OpenBSD: pfctl_parser.c,v 1.41 2001/08/16 11:46:56 deraadt Exp $ */ /* * Copyright (c) 2001, Daniel Hartmeier @@ -236,7 +236,7 @@ print_flags(u_int8_t f) void print_nat(struct pf_nat *n) { - printf("nat "); + printf("@nat "); if (n->ifname[0]) { printf("on "); if (n->ifnot) @@ -287,7 +287,7 @@ print_nat(struct pf_nat *n) void print_rdr(struct pf_rdr *r) { - printf("rdr "); + printf("@rdr "); if (r->ifname[0]) { printf("on "); if (r->ifnot) |