aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ipp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-10-11 19:39:29 +0000
committerGuy Harris <guy@alum.mit.edu>1999-10-11 19:39:29 +0000
commit0faf7339147a90ae176d10932e14b4170241734a (patch)
tree93bfe9877d18ab444aae27276f6df0f2b5e88a52 /packet-ipp.c
parent817465175da0d47b3d06086bf736ce2fe2040cad (diff)
The answer to the question
(Is there a better way to force a parse to fail from arbitrary places in routines called by the parser?) asked in an earlier checkin is "yes", which would've been obvious had I seen the code that handles MAC addresses, as it returns NULL on an error, and the YACC clause checks for a null return value and, if the return value is null, uses YYERROR to make the parse fail. Use that for IPv4 and IPv6 errors. Also, use "dfilter_fail()" for the MAC address code. svn path=/trunk/; revision=810
Diffstat (limited to 'packet-ipp.c')
0 files changed, 0 insertions, 0 deletions