Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2-0]: src/dist/ipf/tools Pullup rev 1.8 (requested by martti in t...



details:   https://anonhg.NetBSD.org/src/rev/a91a1cd9f0df
branches:  netbsd-2-0
changeset: 562723:a91a1cd9f0df
user:      jmc <jmc%NetBSD.org@localhost>
date:      Fri Oct 01 03:18:29 2004 +0000

description:
Pullup rev 1.8 (requested by martti in ticket #876)

Allow \ at the end of line so long lines can be splitted and made more
readable. Without this modification old IPF 3.x and 4.1.1 rules will not
work with IPF 4.1.3.

diffstat:

 dist/ipf/tools/lexer.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 04c79a19c300 -r a91a1cd9f0df dist/ipf/tools/lexer.c
--- a/dist/ipf/tools/lexer.c    Fri Oct 01 03:09:15 2004 +0000
+++ b/dist/ipf/tools/lexer.c    Fri Oct 01 03:18:29 2004 +0000
@@ -166,6 +166,8 @@
        switch (c)
        {
        case '\n' :
+               lnext = 0;
+               nokey = 0;
        case '\t' :
        case '\r' :
        case ' ' :



Home | Main Index | Thread Index | Old Index