#include <stdlib.h>
#include "ip.h"
-#ifdef INET6
#include "ip6.h"
-#endif
#include "extract.h"
#include "interface.h"
break;
case IPv6_AFI:
ND_TCHECK2(*(packet_iterator + packet_offset), 16);
- #ifdef INET6
ND_PRINT((ndo, " EID %s/%u,", getname6(ndo,
packet_iterator + packet_offset), mask_len));
- #else
- ND_PRINT((ndo, " IPv6 EID,"));
- #endif
packet_offset += 16;
break;
default:
break;
case IPv6_AFI:
ND_TCHECK2(*(packet_iterator + packet_offset), 16);
- #ifdef INET6
ND_PRINT((ndo, " LOC %s", getname6(ndo, loc_ip_pointer)));
- #else
- ND_PRINT((ndo, " LOC IPv6"));
- #endif
packet_offset += 16;
break;
default:
2 record(s), Authentication SHA1,
Authentication-Data: 0x0000: 4bbb 9614 a67a 8604 0407 7995 4537 1906
Authentication-Data: 0x0010: 836c d1d6
- Record TTL 1440, Authoritative, No-Action, Map Version: 0, IPv6 EID, 1 locator(s)
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 2001:db8:85a3::8a2e:370:7334/80, 1 locator(s)
LOC 20.20.8.253
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
- Record TTL 1440, Authoritative, No-Action, Map Version: 0, IPv6 EID, 1 locator(s)
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 2001:db8:95a3::8a2e:370:7334/80, 1 locator(s)
LOC 20.20.8.251
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
xTR-ID: 0x0000: 9787 ad75 3caf 58a7 13fa 6920 e6d2 7a8f
2 record(s), Authentication SHA1,
Authentication-Data: 0x0000: 4bbb 9614 a67a 8604 0407 7995 4537 1906
Authentication-Data: 0x0010: 836c d1d6
- Record TTL 1440, Authoritative, No-Action, Map Version: 0, IPv6 EID, 1 locator(s)
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 2001:db8:85a3::8a2e:370:7334/80, 1 locator(s)
LOC 20.20.8.253
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
- Record TTL 1440, Authoritative, No-Action, Map Version: 0, IPv6 EID, 1 locator(s)
+ Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 2001:db8:95a3::8a2e:370:7334/80, 1 locator(s)
LOC 20.20.8.251
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],