From a4d001c4fb44d3a43f2470786bebbc6903ba76ac Mon Sep 17 00:00:00 2001 From: Matteo Cypriani Date: Tue, 1 Mar 2011 14:15:01 +0100 Subject: [PATCH] [Listener] Fix autocalibration port printing --- infrastructure-centred/owlps-listener/owlps-listenerd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure-centred/owlps-listener/owlps-listenerd.c b/infrastructure-centred/owlps-listener/owlps-listenerd.c index f462da6..c9256e4 100644 --- a/infrastructure-centred/owlps-listener/owlps-listenerd.c +++ b/infrastructure-centred/owlps-listener/owlps-listenerd.c @@ -676,7 +676,7 @@ void read_packet(u_char *args, const struct pcap_pkthdr *header, if (GET_VERBOSE()) { printf("\nAutocalibration packet received.") ; - if (uses_autocalibration_request_port) + if (! uses_autocalibration_request_port) printf(".. on the wrong port!") ; putchar('\n') ; }