X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/e8351f1a2c735e32d6fb81f180f25d751caf6fe7..a3033282454ea3d1e5e8a7ca91d3d67d258ba04c:/tools/poke-rls.c diff --git a/tools/poke-rls.c b/tools/poke-rls.c index 03c4fb1..586b4f8 100644 --- a/tools/poke-rls.c +++ b/tools/poke-rls.c @@ -41,9 +41,8 @@ int main(int argc, char **argv) printf("returned %p\n", res); if (res == 42) { - printf("%s\n", packet->data); - printf("%s\n", packet->data+41); - printf("%s\n", packet->data+82); - printf("%s\n", packet->data+123); + int i; + for (i = 0; i < 96; i++) + printf("%s\n", packet->data + i * 41); } }