summaryrefslogtreecommitdiff
path: root/clientd.c
diff options
context:
space:
mode:
Diffstat (limited to 'clientd.c')
-rw-r--r--clientd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/clientd.c b/clientd.c
index 2462669..0f8bde1 100644
--- a/clientd.c
+++ b/clientd.c
@@ -14,7 +14,9 @@
#include "util.h"
int main(void) {
- struct icmpd *d = icmpd_create_client(inet_addr("127.0.0.1"));
+ const char *remote_addr = "127.0.0.1";
+ // const char *remote_addr = "198.211.118.67";
+ struct icmpd *d = icmpd_create_client(inet_addr(remote_addr));
int d_fd = icmpd_get_select_fd(d);
while (true) {