diff options
Diffstat (limited to 'proto/radv')
-rw-r--r-- | proto/radv/radv.c | 2 | ||||
-rw-r--r-- | proto/radv/radv.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/proto/radv/radv.c b/proto/radv/radv.c index 8a79dfaf..2f5f1c27 100644 --- a/proto/radv/radv.c +++ b/proto/radv/radv.c @@ -762,7 +762,7 @@ radv_get_attr(eattr *a, byte *buf, int buflen UNUSED) struct protocol proto_radv = { .name = "RAdv", .template = "radv%d", - .attr_class = EAP_RADV, + .class = PROTOCOL_RADV, .channel_mask = NB_IP6, .proto_size = sizeof(struct radv_proto), .config_size = sizeof(struct radv_config), diff --git a/proto/radv/radv.h b/proto/radv/radv.h index 66f785a7..719948d5 100644 --- a/proto/radv/radv.h +++ b/proto/radv/radv.h @@ -192,8 +192,8 @@ struct radv_iface #define RA_PREF_MASK 0x18 /* Attributes */ -#define EA_RA_PREFERENCE EA_CODE(EAP_RADV, 0) -#define EA_RA_LIFETIME EA_CODE(EAP_RADV, 1) +#define EA_RA_PREFERENCE EA_CODE(PROTOCOL_RADV, 0) +#define EA_RA_LIFETIME EA_CODE(PROTOCOL_RADV, 1) #ifdef LOCAL_DEBUG #define RADV_FORCE_DEBUG 1 |