From Hadriel Kaplan and myself via https://bugs.wireshark.org/bugzilla/show_bug.cgi...
authorEvan Huus <eapache@gmail.com>
Sat, 23 Mar 2013 02:53:41 +0000 (02:53 -0000)
committerEvan Huus <eapache@gmail.com>
Sat, 23 Mar 2013 02:53:41 +0000 (02:53 -0000)
commit6ad3aeb3d93e26d076226ea7572c7339a0c064d2
tree2e5a020698f3567d788e416b25d7a1b3181aa5bc
parentb8ae49755d03fd5652bc7414c8ffb4179636e453
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.

svn path=/trunk/; revision=48495
epan/wslua/wslua_field.c