]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/sdk/c/prettylisten.c
Merge over into the trunk.
[tinyos-2.x.git] / support / sdk / c / prettylisten.c
index a3f5d67d4b5003926808c61aa0fb039964b3af6e..4a24f7ddab86d69a8549333c0fbf6ff8c134af45 100644 (file)
@@ -45,8 +45,9 @@ int main(int argc, char **argv)
          if (!msg)
            exit(0);
 
-         printf("addr %u, length %u, group %u, type %u\n  ",
-                spacket_header_addr_get(msg),
+         printf("dest %u, src %u, length %u, group %u, type %u\n  ",
+                spacket_header_dest_get(msg),
+                spacket_header_src_get(msg),
                 spacket_header_length_get(msg),
                 spacket_header_group_get(msg),
                 spacket_header_type_get(msg));