]> hackdaworld.org Git - my-code/hdw-sniff.git/commitdiff
--
authorhackbard <hackbard>
Thu, 5 Dec 2002 00:01:05 +0000 (00:01 +0000)
committerhackbard <hackbard>
Thu, 5 Dec 2002 00:01:05 +0000 (00:01 +0000)
hdw-sniff.c

index 7a549e5ecc3e1ea43970b792b7436935efb049e7..ff492f6a7ea6f8e9d3566754dba6f05468f82e62 100644 (file)
@@ -54,9 +54,10 @@ int main(int argc, char *argv[]) {
        else {
                if((file_fd=open(argv[3],O_RDWR | O_CREAT))!=0) {
                        printf("writing to logfile %s ...\n",argv[3]);
+                       dprintf(file_fd,"|iv - --|id|crypted_snap - --|\n");
                }
                else {
-                       printf("can't open logfile!\n");
+                       printf("can't open logfile. not logged to file!\n");
                }
        }