FreeBSD Bugzilla – Attachment 187126 Details for
Bug 222953
ipfw fwd tablearg & ipfw -q bugs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch for fwd tablearg,port
ip_fw2.diff (text/plain), 673 bytes, created by
Andrey V. Elsukov
on 2017-10-13 09:26:28 UTC
(
hide
)
Description:
Proposed patch for fwd tablearg,port
Filename:
MIME Type:
Creator:
Andrey V. Elsukov
Created:
2017-10-13 09:26:28 UTC
Size:
673 bytes
patch
obsolete
>Index: sys/netpfil/ipfw/ip_fw2.c >=================================================================== >--- sys/netpfil/ipfw/ip_fw2.c (revision 324097) >+++ sys/netpfil/ipfw/ip_fw2.c (working copy) >@@ -2442,6 +2442,7 @@ do { \ > sa6->sin6_len = sizeof(*sa6); > sa6->sin6_addr = TARG_VAL( > chain, tablearg, nh6); >+ sa6->sin6_port = sa->sin_port; > /* > * Set sin6_scope_id only for > * link-local unicast addresses. >@@ -2455,6 +2456,8 @@ do { \ > } else > #endif > { >+ args->hopstore.sin_port = >+ sa->sin_port; > sa = args->next_hop = > &args->hopstore; > sa->sin_family = AF_INET;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 222953
: 187126 |
187127