Ethereal-dev: [ethereal-dev] IPv6 filter expression

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Fri, 15 Oct 1999 12:14:50 +0900
	IPv6 filter expression is not working right, due to lex rule.
	If I tap "ipv6.dst == ff02::9", lexer will think "ff02" as a token
	due to the following rule in dfilter-scanner.l:

>[A-Za-z][A-Za-z0-9\.\_\-]+ {
>/* looks like a protocol, field name, or hostname */

	I'm not sure if it is okay to:
	- add colon into this rule
	- add IPv6 address matching rule prior to this rule
	- some other route?

	From my experience it is easier to use simple regexp (like
	"[0-9a-fA-F\:\.]+") and use get_host_ipaddr6(), than try to make
	exact IPv6 numeric address regexp.

itojun