mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 00:00:21 +01:00
platform: fix assertion in _ip_route_add() to return correct error code
This commit is contained in:
parent
cf21da4ed1
commit
7d6c1a0f43
1 changed files with 1 additions and 1 deletions
|
|
@ -5346,7 +5346,7 @@ _ip_route_add(NMPlatform *self, NMPNlmFlags flags, NMPObject *obj_stack, char **
|
|||
char sbuf[NM_UTILS_TO_STRING_BUFFER_SIZE];
|
||||
int ifindex;
|
||||
|
||||
_CHECK_SELF(self, klass, FALSE);
|
||||
_CHECK_SELF(self, klass, -NME_BUG);
|
||||
|
||||
/* The caller already ensures that this is a stack allocated copy, that
|
||||
* - stays alive for the duration of the call.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue