mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
A call to maskurg() makes sense only when a transfer is under way,
the function will emit an annoying log message otherwise. Reported by: kris MFC: along with rev. 1.202
This commit is contained in:
parent
c82b8ff04f
commit
91ae77792e
1 changed files with 5 additions and 3 deletions
|
|
@ -2764,12 +2764,14 @@ static void
|
|||
flagxfer(int flag)
|
||||
{
|
||||
|
||||
maskurg(!flag);
|
||||
if (flag) {
|
||||
recvurg = 0;
|
||||
transflag = 1;
|
||||
} else
|
||||
maskurg(0);
|
||||
recvurg = 0;
|
||||
} else {
|
||||
maskurg(1);
|
||||
transflag = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue