mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 00:25:01 +00:00
isisd: Cleanup compile issue
cleanup compile with missnamed enum usage. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
54ece69899
commit
b72002107f
@ -469,7 +469,7 @@ int isis_sock_init(struct isis_circuit *circuit)
|
|||||||
int retval = ISIS_OK;
|
int retval = ISIS_OK;
|
||||||
|
|
||||||
if (isisd_privs.change(ZPRIVS_RAISE))
|
if (isisd_privs.change(ZPRIVS_RAISE))
|
||||||
zlog_ferr(LIB_ERR_PRIVILEGE, "%s: could not raise privs, %s",
|
zlog_ferr(LIB_ERR_PRIVILEGES, "%s: could not raise privs, %s",
|
||||||
__func__, safe_strerror(errno));
|
__func__, safe_strerror(errno));
|
||||||
|
|
||||||
retval = open_dlpi_dev(circuit);
|
retval = open_dlpi_dev(circuit);
|
||||||
@ -490,7 +490,7 @@ int isis_sock_init(struct isis_circuit *circuit)
|
|||||||
|
|
||||||
end:
|
end:
|
||||||
if (isisd_privs.change(ZPRIVS_LOWER))
|
if (isisd_privs.change(ZPRIVS_LOWER))
|
||||||
zlog_ferr(LIB_ERR_PRIVILEGE, "%s: could not lower privs, %s",
|
zlog_ferr(LIB_ERR_PRIVILEGES, "%s: could not lower privs, %s",
|
||||||
__func__, safe_strerror(errno));
|
__func__, safe_strerror(errno));
|
||||||
|
|
||||||
return retval;
|
return retval;
|
||||||
|
Loading…
Reference in New Issue
Block a user