String in bytes konvertieren.
fuer send_udp() wird eine Bytesequenz gebraucht.
Und wir gehen davon aus, dass alle Hostnamen
ASCII sind.
Change-Id: I55fcdb9962d287d461d28d62f5ede3452f1eaddf
diff --git a/p/daemon/iplookup.c b/p/daemon/iplookup.c
index 7608d8f..724f261 100644
--- a/p/daemon/iplookup.c
+++ b/p/daemon/iplookup.c
@@ -124,7 +124,7 @@
* Daten ueberschrieben.
*/
static void make_request( string ipnum ) {
- send_udp( IPLOOKUP_HOST, IPLOOKUP_PORT, ipnum );
+ send_udp( IPLOOKUP_HOST, IPLOOKUP_PORT, to_bytes(ipnum, "ASCII") );
ipmap += ([ ipnum : ipnum ; SEARCHING ;
time()+QUERY_TIME ; STATUS_QUERYING
]);