X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/d5cffad757d05610d796476603aaff266e6c8f50..709f319b64f0233f9e60faab2c2b885d3ddbad71:/tools/poke-rls.c diff --git a/tools/poke-rls.c b/tools/poke-rls.c index 03c4fb1..557e7a9 100644 --- a/tools/poke-rls.c +++ b/tools/poke-rls.c @@ -1,3 +1,13 @@ +/* poke-rls.c + * Linux-side communication packet utility + * NetWatch system management mode administration console + * + * Copyright (c) 2008 Jacob Potter and Joshua Wise. All rights reserved. + * This program is free software; you can redistribute and/or modify it under + * the terms found in the file LICENSE in the root of this source tree. + * + */ + #include #include #include @@ -41,9 +51,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); } }