]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/net/common/v2_0/tests/ga_server_test.c
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / net / common / v2_0 / tests / ga_server_test.c
index 2aa20032846da58ae3a3a72f0fb7293f4a24aa0d..4d46551c90c0bf3b8318cacf1149d92b00b2d968 100644 (file)
@@ -122,7 +122,7 @@ server_test(struct bootp *bp)
                     if (getnameinfo (&client_addr, client_len, 
                                      host_addr_buf, sizeof(host_addr_buf),
                                      host_port_buf, sizeof(host_port_buf), 
-                                     NI_NUMERIC) == EAI_NONE) {
+                                     NI_NUMERICHOST) == EAI_NONE) {
                         diag_printf("connection from %s(%s)\n", host_addr_buf, host_port_buf);
                         diag_sprintf(buf, "Hello %s(%s)\n", host_addr_buf, host_port_buf);
                     } else {