Incorrect ppp protocol determination

Description

In src/Sessions.cc: when calculating ppp_proto variable it is necessary to convert network byte order to host one. At the moment incorrectly processed tunneled traffic with message "non_ip_packet_in_encap". File to reproduce the bug attached. I fixed it with replace this line of code:

by this one:

Environment

Linux john-VirtualBox 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Assignee

Unassigned

Reporter

Юрий Маркин

Labels

External issue ID

None

Components

Fix versions

Affects versions

Priority

Normal
Configure