mtpd: pptp: Fix endianness issues in log prints

"local" and "remote" variables are stored in network endianness. But
those variables are not being converted to host endianness when
printing. So convert them to host endianness when needed. Also change
the type of those variables to __be16 so we can distinguish them easier.

Change-Id: I1521afbcf05db47a2ecba9f0a9028d58cd56a00a
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
1 file changed
tree: 1b00498eadd8c64fdbfca67fdac031cb0ef5e322
  1. Android.bp
  2. l2tp.c
  3. MODULE_LICENSE_APACHE2
  4. mtpd.c
  5. mtpd.h
  6. mtpd.rc
  7. NOTICE
  8. pptp.c