summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/queryhandlerpentominos.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/queryhandlerpentominos.cc b/server/src/queryhandlerpentominos.cc
index 9d39407..9802fda 100644
--- a/server/src/queryhandlerpentominos.cc
+++ b/server/src/queryhandlerpentominos.cc
@@ -160,7 +160,8 @@ QueryResult QueryHandlerPentominos::exec(Query &query)
PRACRO_DEBUG(queryhandler, header);
- sprintf(buf, " <pentominos:entry cpr=\"%s\"\n"
+ sprintf(buf, " <pentominos:entry replyformat=\"xml\"\n"
+ " cpr=\"%s\"\n"
" src_addr=\"%s\"\n"
" dst_addr=\"%s\"\n"
" timestamp=\"%d\"\n"
@@ -181,8 +182,7 @@ QueryResult QueryHandlerPentominos::exec(Query &query)
PRACRO_DEBUG(queryhandler, buf);
- sprintf(buf, " <pentominos:query format=\"pracroxml\"\n"
- " device_id=\"%s\"\n"
+ sprintf(buf, " <pentominos:query device_id=\"%s\"\n"
" device_type=\"%s\"\n"
" filter=\"latest\"\n"
" location=\"all\"/>\n",