Hi Guy,
On Sun, Dec 25, 2011 at 01:06:27PM -0800, Guy Harris wrote:
>
> On Dec 25, 2011, at 12:45 PM, Guy Harris wrote:
>
> > What Wireshark does *NOT* do is pass a non-null protocol tree pointer to the dissector when loading a capture file;
>
> Or, more correctly, what Wireshark does *NOT* do is *guarantee* that the protocol tree pointer passed to the dissector when loading a capture file is non-null. It *might* be, but any dissector that fails to work correctly if the pointer is null in that case has a bug.
Doh, I am fool... As far as I start made dissector base on example, the
code is inside block "if (tree)". I'm totally forgot about this.
This resolve many of my problems.
So there are only one problem:
What version of python I need to build on windows ? I have win7 x86_64 with
VC++ 2k8 Express :). And build fails both python latest 2.7 and 3.2.
For 3.2 error is next:
----------------------------------------------------------------
cd ..
cd help
"C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\BIN\nmake.exe" / -f Makefile.nmake
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
faq.py | ..\tools\html2text.py --width=72 --no-links > faq.txt
File "D:\wireshark-1.6.4\tools\html2text.py", line 195
self.outtext = u''
^
SyntaxError: invalid syntax
NMAKE : fatal error U1077: 'faq.py' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
----------------------------------------------------------------
> ___________________________________________________________________________
> Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives: http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
--
Best regards,
Andriy
0xBDDBDAE3
Attachment:
signature.asc
Description: Digital signature