On AIX 5.1, at least when compiling with xlc, the statement
struct mp_remove_addr *rem_addr = (struct mp_remove_addr *) opt;
gets a complaint "Syntax error: possible missing '{'?"
"/usr/include/sys/xmem.h" #defines rem_addr; I've no idea whether we're
indirectly including that, but maybe we are and maybe that's causing the
problem.
static int remove_addr_print(const u_char *opt, u_int opt_len, u_char flags _U_)
{
- struct mp_remove_addr *rem_addr = (struct mp_remove_addr *) opt;
- u_int8_t *addr_id = &rem_addr->addrs_id;
+ struct mp_remove_addr *remove_addr = (struct mp_remove_addr *) opt;
+ u_int8_t *addr_id = &remove_addr->addrs_id;
if (opt_len < 4)
return 0;