]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r341798:
authorae <ae@FreeBSD.org>
Mon, 17 Dec 2018 10:43:23 +0000 (10:43 +0000)
committerae <ae@FreeBSD.org>
Mon, 17 Dec 2018 10:43:23 +0000 (10:43 +0000)
commit4b8f41e5c1ae5bed096ece4b5d7bb3e17dcc0442
tree999753a7b27dd4457e2d054859cf2f437c10a3f6
parent09b32378a056abb90f3ef395246a56060a04cf7e
MFC r341798:
  Use correct size for IPv4 address in gethostbyaddr().
  When u_long is 8 bytes, it returns EINVAL and 'ipfw -N show' doesn't work.

  Reported by: Claudio Eichenberger <cei at yourshop.com>

MFC r341799:
  Rework how protocol number is tracked in rule. Save it when O_PROTO
  opcode will be printed. This should solve the problem, when protocol
  name is not printed in `ipfw -N show`.

  Reported by: Claudio Eichenberger <cei at yourshop.com>
sbin/ipfw/ipfw2.c