* [PATCH 12/13] rtnl: Fix l_rtnl_route_get_protocol
@ 2022-04-22 18:59 Andrew Zaborowski
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Zaborowski @ 2022-04-22 18:59 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 41b34d7..690fe7c 100644
--- a/ell/rtnl.c
+++ b/ell/rtnl.c
@@ -651,7 +651,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] 2+ messages in thread
* Re: [PATCH 12/13] rtnl: Fix l_rtnl_route_get_protocol
@ 2022-04-22 21:34 Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2022-04-22 21:34 UTC (permalink / raw)
To: ell
[-- Attachment #1: Type: text/plain, Size: 183 bytes --]
Hi Andrew,
On 4/22/22 13:59, Andrew Zaborowski wrote:
> ---
> ell/rtnl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied, thanks.
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-22 21:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-22 18:59 [PATCH 12/13] rtnl: Fix l_rtnl_route_get_protocol Andrew Zaborowski
2022-04-22 21:34 Denis Kenzior
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.