case DH6OPT_DNS_SERVERS:
case DH6OPT_SNTP_SERVERS: {
if (optlen % 16 != 0) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
return -1;
}
for (t = 0; t < optlen; t += 16)
case DNCP_REQUEST_NETWORK_STATE: {
if (bodylen != 0)
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
}
break;
case DNCP_REQUEST_NODE_STATE: {
const char *node_identifier;
if (bodylen != 4) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
node_identifier = format_nid(value);
const char *node_identifier;
uint32_t endpoint_identifier;
if (bodylen != 8) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
node_identifier = format_nid(value);
case DNCP_NETWORK_STATE: {
uint64_t hash;
if (bodylen != 8) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
hash = EXTRACT_BE_U_8(value);
uint32_t sequence_number;
uint64_t hash;
if (bodylen < 20) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
node_identifier = format_nid(value);
const char *peer_node_identifier;
uint32_t peer_endpoint_identifier, endpoint_identifier;
if (bodylen != 12) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
peer_node_identifier = format_nid(value);
uint32_t endpoint_identifier;
const char *interval;
if (bodylen < 8) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
endpoint_identifier = EXTRACT_BE_U_4(value);
case DNCP_TRUST_VERDICT: {
if (bodylen <= 36) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
ND_PRINT(" Verdict: %u Fingerprint: %s Common Name: ",
uint16_t capabilities;
uint8_t M, P, H, L;
if (bodylen < 5) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
capabilities = EXTRACT_BE_U_2(value + 2);
case HNCP_DELEGATED_PREFIX: {
int l;
if (bodylen < 9 || bodylen < 9 + (EXTRACT_U_1(value + 8) + 7) / 8) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
ND_PRINT(" VLSO: %s PLSO: %s Prefix: ",
* IPv6", or -3, meaning "the prefix runs past
* the end of the TLV".
*/
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
l += 8 + (-l & 3);
uint8_t policy;
int l;
if (bodylen < 1) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
policy = EXTRACT_U_1(value);
ND_PRINT(" type: ");
if (policy == 0) {
if (bodylen != 1) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
ND_PRINT("Internet connectivity");
* IPv6", or -3, meaning "the prefix runs past
* the end of the TLV".
*/
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
} else if (policy == 129) {
(void)nd_printzp(ndo, value + 1, bodylen - 1, NULL);
} else if (policy == 131) {
if (bodylen != 1) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
ND_PRINT("Restrictive assignment");
case HNCP_DHCPV4_DATA: {
if (bodylen == 0) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
if (dhcpv4_print(ndo, value, bodylen, indent+1) != 0)
case HNCP_DHCPV6_DATA: {
if (bodylen == 0) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
if (dhcpv6_print(ndo, value, bodylen, indent+1) != 0) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
}
uint8_t prty;
int l;
if (bodylen < 6 || bodylen < 6 + (EXTRACT_U_1(value + 5) + 7) / 8) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
prty = EXTRACT_U_1(value + 4) & 0xf;
);
ND_PRINT(" Prefix: ");
if ((l = print_prefix(ndo, value + 5, bodylen - 5)) < 0) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
l += 5;
uint32_t endpoint_identifier;
const char *ip_address;
if (bodylen < 20) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
endpoint_identifier = EXTRACT_BE_U_4(value);
const char *ip_address;
int len;
if (bodylen < 17) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
ip_address = format_ip6addr(ndo, value);
);
len = print_dns_label(ndo, value+17, bodylen-17, 1);
if (len < 0) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
len += 17;
case HNCP_DOMAIN_NAME: {
if (bodylen == 0) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
ND_PRINT(" Domain: ");
case HNCP_NODE_NAME: {
u_int l;
if (bodylen < 17) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
l = EXTRACT_U_1(value + 16);
if (bodylen < 17 + l) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
ND_PRINT(" IP-Address: %s Name: ",
case HNCP_MANAGED_PSK: {
if (bodylen < 32) {
- ND_PRINT(" %s", istr);
+ ND_PRINT("%s", istr);
break;
}
ND_PRINT(" PSK: %s", format_256(value));
Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
Record TTL 1440, Authoritative, No-Action, Map Version: 0, EID 10.30.1.80/32, 1 locator(s)
LOC 20.20.8.239
- Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none],
- (invalid)
+ Priority/Weight 1/100, Multicast Priority/Weight 1/100, flags [none], (invalid)
IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 156)
192.168.0.105.4342 > 127.0.0.1.4342: LISP-Map-Notify, flags [none],
2 record(s), Authentication SHA1,