diff options
author | Laurent Ghigonis <laurent@p1sec.com> | 2012-11-29 15:59:28 +0100 |
---|---|---|
committer | Laurent Ghigonis <laurent@p1sec.com> | 2012-11-29 15:59:28 +0100 |
commit | 325e5737ab6674f662a9b94fa06e94b2f26669a9 (patch) | |
tree | 37ef4146f7b55acdce6babdf57045d753ee737ec /glougloud | |
parent | set default ports as constants, and use them in sendrecv unittest (diff) | |
download | glouglou-325e5737ab6674f662a9b94fa06e94b2f26669a9.tar.xz glouglou-325e5737ab6674f662a9b94fa06e94b2f26669a9.zip |
use glouglou ports constants
Diffstat (limited to 'glougloud')
-rw-r--r-- | glougloud/glougloud.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glougloud/glougloud.c b/glougloud/glougloud.c index 5e290ae..d5d3cad 100644 --- a/glougloud/glougloud.c +++ b/glougloud/glougloud.c @@ -81,9 +81,9 @@ main(int argc, char **argv) evsignal_add(ev_sighup, NULL); signal(SIGPIPE, SIG_IGN); - ggserv_probes = gg_server_start(ev_base, "127.0.0.1", 4430, + ggserv_probes = gg_server_start(ev_base, "127.0.0.1", GLOUGLOU_PROBE_DEFAULT_PORT, prb_handle_conn, prb_handle_packet, NULL); - ggserv_clients = gg_server_start(ev_base, "127.0.0.1", 4431, + ggserv_clients = gg_server_start(ev_base, "127.0.0.1", GLOUGLOU_ANALY_DEFAULT_PORT, cli_handle_conn, cli_handle_packet, NULL); event_base_dispatch(ev_base); |