Ethereal-dev: Re: [Ethereal-dev] Patch: RFC 3514 support

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

Date Prev Thread Prev
From: Guy Harris <guy@xxxxxxxxxx>
Date: Mon, 31 Mar 2003 21:33:44 -0800
On Tue, Apr 01, 2003 at 12:29:32AM -0500, dheitmueller wrote:
> Attached is a patch to add support for RFC 3514.

To support older IP implementations, perhaps there should be a
configurable option for that - or perhaps it should just do

	time_t now;
	struct tm *tmp;

	now = time(NULL);
	tmp = localtime(&tmp);
	if (tmp->tm_mon == 3 && tmp->tm_mday == 1)
		do the new decoding
	else
		do the old decoding