/**
- * Copyright (C) 2012-2013 Steven Barth <steven@midlink.org>
+ * Copyright (C) 2012-2014 Steven Barth <steven@midlink.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License v2 as published by
if ((type == ENTRY_PREFIX || type == ENTRY_ADDRESS) && e[i].class)
buf_len += snprintf(&buf[buf_len], 12, ",class=%u", e[i].class);
+ else if (type == ENTRY_PREFIX && ntohl(e[i].iaid) != 1)
+ buf_len += snprintf(&buf[buf_len], 16, ",class=%08x", ntohl(e[i].iaid));
if (type == ENTRY_PREFIX && e[i].priority) {
// priority and router are abused for prefix exclusion