Fix regression in handling O_FORWARD_IP opcode after r279948.
authorae <ae@FreeBSD.org>
Fri, 13 Oct 2017 11:11:53 +0000 (11:11 +0000)
committerae <ae@FreeBSD.org>
Fri, 13 Oct 2017 11:11:53 +0000 (11:11 +0000)
commitf1c42a52266e225e9fa5e79d469122ae89f517c6
tree5f234d597d81f75a06fdf0e1954344ebddb806ff
parent3c04e58c0c5f62e83a9dff59845fdadbbc9b4a06
Fix regression in handling O_FORWARD_IP opcode after r279948.

To properly handle 'fwd tablearg,port' opcode, copy sin_port value from
sockaddr_in structure stored in the opcode into corresponding hopstore
field.

PR: 222953
MFC after: 1 week
sys/netpfil/ipfw/ip_fw2.c