On Wednesday, April 03, 2013 16:14:20 Antonio Quartulli wrote:
From: Antonio Quartulli antonio@open-mesh.com
Unicast packet might be of type either UNICAST or UNICAST4ADDR. In the two cases the header size is different, but the mechanism checking the TTVN field was assuming it to be always of the same type (UNICAST), so failing to access the inner Ethernet header in case of UNICAST4ADDR.
Fix this by passing the real header length as argument.
Signed-off-by: Antonio Quartulli antonio@open-mesh.com
routing.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-)
Applied in revision 9b96ecb.
Thanks, Marek