X-Git-Url: http://git.scottworley.com/tattlekey/blobdiff_plain/1d94976e09413eba32972b3c60f30e2ee83dbcdb..b512ec26593fde453ce121f30ba8d36b1e3678df:/client/net.c?ds=sidebyside diff --git a/client/net.c b/client/net.c index c692a12..9ced48f 100644 --- a/client/net.c +++ b/client/net.c @@ -20,10 +20,10 @@ static void initialize_the_pcb() { signal_error_by_blinking(); ip_addr_t ipaddr; - if (ip4addr_aton(tattle_server_ip_address, &ipaddr) == 0) + if (ip4addr_aton(config_tattle_server_ip_address, &ipaddr) == 0) signal_error_by_blinking(); - if (udp_connect(the_pcb, &ipaddr, tattle_port) != ERR_OK) + if (udp_connect(the_pcb, &ipaddr, config_tattle_port) != ERR_OK) signal_error_by_blinking(); } @@ -45,7 +45,7 @@ void send_report(u16_t seq, u16_t ago) { struct tattle_message_wire_format *msg = (struct tattle_message_wire_format *)(p->payload); - msg->sender = htons(this_tattler_identity); + msg->sender = htons(config_this_tattler_identity); msg->seq = htons(seq); msg->ago = htons(ago);