mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-29 12:50:42 +02:00
rdisc: fix regression in send_rs() (cannot create router solicitation)
Fixes: 21efcfe6b5
This commit is contained in:
parent
5aba5685f2
commit
793e985918
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,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