mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
alias_proxy.c: Fix accidental error quashing
This was introduced on accident in r165243, when return sites were unified to add a lock around LibAliasProxyRule(). PR: 217749 Submitted by: Svyatoslav <razmyslov at viva64.com> Sponsored by: Viva64 (PVS-Studio)
This commit is contained in:
parent
f321675a98
commit
fdb727f4f2
1 changed files with 2 additions and 1 deletions
|
|
@ -720,7 +720,8 @@ LibAliasProxyRule(struct libalias *la, const char *cmd)
|
|||
err = RuleNumberDelete(la, rule_to_delete);
|
||||
if (err)
|
||||
ret = -1;
|
||||
ret = 0;
|
||||
else
|
||||
ret = 0;
|
||||
goto getout;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue