summaryrefslogtreecommitdiff
path: root/src/rdisc/nm-lndp-rdisc.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-12-17 21:26:54 +0100
committerThomas Haller <thaller@redhat.com>2015-12-17 21:26:54 +0100
commit793e98591859a4913ad457d3475f0bbf8f40cd5a (patch)
tree83be6b569d720ffc1472391f89b1236a98e9808a /src/rdisc/nm-lndp-rdisc.c
parent5aba5685f2a7bf227ed923d969be29ce8d543b9a (diff)
rdisc: fix regression in send_rs() (cannot create router solicitation)
Diffstat (limited to 'src/rdisc/nm-lndp-rdisc.c')
-rw-r--r--src/rdisc/nm-lndp-rdisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rdisc/nm-lndp-rdisc.c b/src/rdisc/nm-lndp-rdisc.c
index 091b76b365..d230280f44 100644
--- a/src/rdisc/nm-lndp-rdisc.c
+++ b/src/rdisc/nm-lndp-rdisc.c
@@ -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");