#if CONFIG_NETWORK
static int resolve_destination(char *dest_addr, int size, char *type,
- int type_size)
+ int type_size)
{
struct addrinfo hints, *ai;
int is_multicast;
}
#else
static int resolve_destination(char *dest_addr, int size, char *type,
- int type_size)
+ int type_size)
{
return 0;
}
if (p) {
char buff[64];
- if (find_info_tag(buff, sizeof(buff), "ttl", p)) {
- *ttl = strtol(buff, NULL, 10);
- } else {
- *ttl = 5;
- }
+ if (find_info_tag(buff, sizeof(buff), "ttl", p)) {
+ *ttl = strtol(buff, NULL, 10);
+ } else {
+ *ttl = 5;
+ }
}
return port;