mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Fix exit status. In rev. 1.48 return logic of rtmsg() was confused. This
made arp(8) command exit status reversed for -s and -S. Reported by: sem MFC after: 2 weeks
This commit is contained in:
parent
8b9bbaaa94
commit
cf77958920
1 changed files with 1 additions and 1 deletions
|
|
@ -384,7 +384,7 @@ set(int argc, char **argv)
|
|||
}
|
||||
sdl_m.sdl_type = sdl->sdl_type;
|
||||
sdl_m.sdl_index = sdl->sdl_index;
|
||||
return (rtmsg(RTM_ADD, dst, &sdl_m) != NULL);
|
||||
return (rtmsg(RTM_ADD, dst, &sdl_m) == NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue