summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-03-10 10:16:05 +0100
committerJiri Pirko <jiri@mellanox.com>2016-03-10 10:23:00 +0100
commitd0ea3eccf42e4cec59b057474f844fc4f616d4de (patch)
treeed2855827f05c6264d59c8846a44451e8c27b4d1
parent8bd97d7548236a29deeca27c94feb94a1cc71149 (diff)
downloadlibndp-d0ea3eccf42e4cec59b057474f844fc4f616d4de.tar.gz
libndp: fix type of field "na" in "struct ndp_msgna"
Otherwise, compilation fails since commit cb1ab5fc8b: libndp.c: In function ‘ndp_msgna_flag_router’: libndp.c:992:18: error: ‘struct nd_neighbor_solicit’ has no member named ‘nd_na_hdr’ return msgna->na->nd_na_flags_reserved & ND_NA_FLAG_ROUTER; Fixes: dfed476eee ("lib: setup first pointer in all type-specific structures at once") Signed-off-by: Thomas Haller <thaller@redhat.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com>
-rw-r--r--libndp/libndp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libndp/libndp.c b/libndp/libndp.c
index 899c2b0..ed72658 100644
--- a/libndp/libndp.c
+++ b/libndp/libndp.c
@@ -278,7 +278,7 @@ struct ndp_msgns {
};
struct ndp_msgna {
- struct nd_neighbor_solicit *na; /* must be first */
+ struct nd_neighbor_advert *na; /* must be first */
};
struct ndp_msgr {