mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-09 12:46:43 +00:00
tests/libalias: Bugfix in used variables
Fix two copy and waste errors (referencing the wrong variable). MFC after: 3 days
This commit is contained in:
parent
25392fac94
commit
b3dc6f137b
|
@ -112,7 +112,7 @@ ATF_TC_BODY(1_portforward, dummy)
|
|||
LibAliasSetAddress(la, masq);
|
||||
|
||||
/* delete and try again */
|
||||
LibAliasRedirectDelete(la, pf2);
|
||||
LibAliasRedirectDelete(la, pf3);
|
||||
UDP_UNNAT_FAIL(p, u, ext, 0x5678, masq, 0xabcd);
|
||||
|
||||
/*
|
||||
|
@ -133,7 +133,7 @@ ATF_TC_BODY(1_portforward, dummy)
|
|||
LibAliasSetAddress(la, masq);
|
||||
|
||||
/* delete and try again */
|
||||
LibAliasRedirectDelete(la, pf2);
|
||||
LibAliasRedirectDelete(la, pf4);
|
||||
UDP_UNNAT_FAIL(p, u, ext, 0x5678, masq, 0xabcd);
|
||||
|
||||
free(p);
|
||||
|
|
Loading…
Reference in New Issue
Block a user