http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=48495
User: eapache
Date: 2013/03/22 07:53 PM
Log:
From Hadriel Kaplan and myself via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8496
Iterate backwards through the linked list of identically-named fields in the lua
bindings since the list is, in fact, created backwards by
proto_register_field_init(). There is some question about whether that is
actually intended, but the rest of the code seems to assume it's normal so we
will too. It was possibly a performance consideration, though that's not
well-documented if so.
Either way, this is the simplest and safest method of fixing the issue with the
lua bindings. See the bug for more analysis.
Directory: /trunk/epan/wslua/
Changes Path Action
+1 -1 wslua_field.c Modified