Skip to content

Commit

Permalink
connman: Support struct ifinfomsg in rtnl handle
Browse files Browse the repository at this point in the history
[connman] Support struct ifinfomsg in rtnl handle. JB#62287

Add the struct ifinfomsg into the union for the struct
__connman_inet_rtnl_handle. This allows RTM_{NEW,GET,DEL}LINK cmds to be
used as well.
  • Loading branch information
LaakkonenJussi committed Sep 20, 2024
1 parent 037c5ce commit 00a0fb1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions connman/src/connman.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,9 @@ struct __connman_inet_rtnl_handle {
struct {
struct ifaddrmsg ifa;
} i;
struct {
struct ifinfomsg ifi;
} f;
} u;
char buf[1024];
} req;
Expand Down

0 comments on commit 00a0fb1

Please sign in to comment.