[Bug 184141] [ppp] [patch] Kernel PPPoE sends bad echo-req magic number on big endian machines

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 1 13:43:36 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184141

--- Comment #7 from commit-hook at freebsd.org ---
A commit references this bug:

Author: emaste
Date: Thu Aug  1 13:42:59 UTC 2019
New revision: 350497
URL: https://svnweb.freebsd.org/changeset/base/350497

Log:
  ppp: correct echo-req magic number on big endian archs

  The magic number is a 32-bit quantity; use uint32_t to match hton's
  return type and avoid sending zeros (upper 32 bits) on big-endian
  architectures.

  PR:           184141
  MFC after:    1 week
  Sponsored by: The FreeBSD Foundation

Changes:
  head/sys/net/if_spppsubr.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-net mailing list