Commit fb2da4b2 authored by Thomas Haller's avatar Thomas Haller

libnm: fix checking argument in nm_team_link_watcher_new_arp_ping()

Found by coverity.

Fixes: 6c93e322
parent a7087b1f
......@@ -249,7 +249,7 @@ nm_team_link_watcher_new_arp_ping (gint init_wait,
return NULL;
if (strpbrk (target_host, " \\/\t=\"\'")) {
if (strpbrk (source_host, " \\/\t=\"\'")) {
_("source-host '%s' contains invalid characters"), source_host);
return NULL;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment