* [PATCH 12/12] rtnl: Fix l_rtnl_route_get_protocol
@ 2022-04-21 15:45 Andrew Zaborowski
0 siblings, 0 replies; only message in thread
From: Andrew Zaborowski @ 2022-04-21 15:45 UTC (permalink / raw)
To: ell
[-- Attachment #1: Type: text/plain, Size: 462 bytes --]
---
ell/rtnl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ell/rtnl.c b/ell/rtnl.c
index 126fb9d..5464872 100644
--- a/ell/rtnl.c
+++ b/ell/rtnl.c
@@ -648,7 +648,7 @@ LIB_EXPORT uint8_t l_rtnl_route_get_protocol(const struct l_rtnl_route *rt)
if (unlikely(!rt))
return RTPROT_UNSPEC;
- return rt->scope;
+ return rt->protocol;
}
LIB_EXPORT bool l_rtnl_route_set_protocol(struct l_rtnl_route *rt,
--
2.32.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-21 15:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-21 15:45 [PATCH 12/12] rtnl: Fix l_rtnl_route_get_protocol Andrew Zaborowski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.