summaryrefslogtreecommitdiff
path: root/libndp
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2013-04-05 15:07:23 +0200
committerJiri Pirko <jiri@resnulli.us>2013-04-05 16:30:16 +0200
commiteebfbcd0eca46345c51ef656714a0219605a6a6d (patch)
tree6e42fb428a0d6bacbb9e0b9b6f78687dc3c123e3 /libndp
parent87e1c69a6e3b6e11a074bbbfcb5b930976331247 (diff)
downloadlibndp-eebfbcd0eca46345c51ef656714a0219605a6a6d.tar.gz
lib: remove unused fields from RA struct
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Diffstat (limited to 'libndp')
-rw-r--r--libndp/libndp.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/libndp/libndp.c b/libndp/libndp.c
index 631abfb..4ffe6bb 100644
--- a/libndp/libndp.c
+++ b/libndp/libndp.c
@@ -275,28 +275,6 @@ struct ndp_msgrs {
struct ndp_msgra {
struct nd_router_advert *ra; /* must be first */
- struct {
- bool present;
- unsigned char addr[ETH_ALEN];
- } opt_source_linkaddr;
- struct {
- bool present;
- unsigned char addr[ETH_ALEN];
- } opt_target_linkaddr;
- struct {
- bool present;
- struct in6_addr prefix;
- uint8_t prefix_len;
- uint32_t valid_time;
- uint32_t preferred_time;
- bool flag_onlink;
- bool flag_auto;
- bool flag_raddr;
- } opt_prefix;
- struct {
- bool present;
- uint32_t mtu;
- } opt_mtu;
};
struct ndp_msgns {