mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 16:50:25 -04:00
stf: shared buffer prints wrong address
(cherry picked from commit0d50c7e789) (cherry picked from commit698cc4aec3)
This commit is contained in:
parent
08e10b5915
commit
70d2e03432
1 changed files with 3 additions and 2 deletions
|
|
@ -74,8 +74,9 @@ stf_status(int s)
|
|||
if (do_cmd(s, STF_GV4NET, ¶m, sizeof(param), 0) < 0)
|
||||
return;
|
||||
|
||||
printf("\tv4net %s/%d -> tv4br %s\n", inet_ntoa(param.inaddr),
|
||||
param.prefix, inet_ntoa(param.dstv4_addr));
|
||||
/* inet_ntoa() uses a shared buffer */
|
||||
printf("\tv4net %s/%d ", inet_ntoa(param.inaddr), param.prefix);
|
||||
printf("-> tv4br %s\n", inet_ntoa(param.dstv4_addr));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in a new issue