@kelly-h For me, it fails with that patch as well, with
ntrack-libnl.c: In function ‘update_connectivity’:
ntrack-libnl.c:544:3: error: passing argument 1 of ‘nl_object_get_id_attrs’ from incompatible pointer type [-Werror]
if ((diff_bits = (nl_object_get_id_attrs(&route_obj_ops) | ROUTE_ATTR_OIF
^
In file included from /usr/include/libnl3/netlink/netlink.h:34:0, from ntrack-libnl.c:35:
/usr/include/libnl3/netlink/object.h:67:12: note: expected ‘struct nl_object *’ but argument is of type ‘struct nl_object_ops *’
uint32_t nl_object_get_id_attrs(struct nl_object *obj);
^
At least to me, this error looks justified, or am I missing something?
@kelly-h For me, it fails with that patch as well, with
ntrack-libnl.c: In function ‘update_ connectivity’ : libnl.c: 544:3: error: passing argument 1 of ‘nl_object_ get_id_ attrs’ from incompatible pointer type [-Werror] get_id_ attrs(& route_obj_ ops) | ROUTE_ATTR_OIF libnl3/ netlink/ netlink. h:34:0,
from ntrack-libnl.c:35: libnl3/ netlink/ object. h:67:12: note: expected ‘struct nl_object *’ but argument is of type ‘struct nl_object_ops *’ get_id_ attrs(struct nl_object *obj);
ntrack-
if ((diff_bits = (nl_object_
^
In file included from /usr/include/
/usr/include/
uint32_t nl_object_
^
At least to me, this error looks justified, or am I missing something?