mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 02:50:17 +01:00
rdisc: fix regression in send_rs() (cannot create router solicitation)
Fixes:21efcfe6b5(cherry picked from commit793e985918)
This commit is contained in:
parent
10c3e11804
commit
d0c7a2bd82
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ send_rs (NMRDisc *rdisc, GError **error)
|
|||
int errsv;
|
||||
|
||||
errsv = ndp_msg_new (&msg, NDP_MSG_RS);
|
||||
if (!errsv) {
|
||||
if (errsv) {
|
||||
errsv = errsv > 0 ? errsv : -errsv;
|
||||
g_set_error_literal (error, NM_UTILS_ERROR, NM_UTILS_ERROR_UNKNOWN,
|
||||
"cannot create router solicitation");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue