diff --git a/edge.c b/edge.c index d5d855e0e..d65e4bf72 100644 --- a/edge.c +++ b/edge.c @@ -143,7 +143,7 @@ static void help() { #ifdef __linux__ "[-D] " #endif - "[-r] [-E] [-v] [-i ] [-t ] [-b] [-A] [-h]\n\n"); + "[-r] [-E] [-v] [-i ] [-t ] [-A] [-h]\n\n"); #if defined(N2N_CAN_NAME_IFACE) printf("-d | tun device name\n"); @@ -155,8 +155,6 @@ static void help() { printf("-s | Edge interface netmask in dotted decimal notation (255.255.255.0).\n"); printf("-l | Supernode IP:port\n"); printf("-i | Registration interval, for NAT hole punching (default 20 seconds)\n"); - printf("-b | Periodically resolve supernode IP\n"); - printf(" | (when supernodes are running on dynamic IPs)\n"); printf("-p | Fixed local UDP port.\n"); #ifndef WIN32 printf("-u | User ID (numeric) to use when privileges are dropped.\n"); @@ -314,12 +312,6 @@ static int setOption(int optkey, char *optargument, n2n_priv_config_t *ec, n2n_e } #endif - case 'b': - { - conf->re_resolve_supernode_ip = 1; - break; - } - case 'p': { conf->local_port = atoi(optargument); diff --git a/n2n.h b/n2n.h index a99ff33d0..388e7417d 100644 --- a/n2n.h +++ b/n2n.h @@ -206,7 +206,6 @@ typedef struct n2n_edge_conf { n2n_sn_name_t sn_ip_array[N2N_EDGE_NUM_SUPERNODES]; n2n_community_t community_name; /**< The community. 16 full octets. */ n2n_transform_t transop_id; /**< The transop to use. */ - uint8_t re_resolve_supernode_ip; uint8_t dyn_ip_mode; /**< Interface IP address is dynamically allocated, eg. DHCP. */ uint8_t allow_routing; /**< Accept packet no to interface address. */ uint8_t drop_multicast; /**< Multicast ethernet addresses. */