Changeset 16 for trunk/src


Ignore:
Timestamp:
08/01/15 19:01:31 (9 years ago)
Author:
tim
Message:

.

Location:
trunk/src
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/compile.sh

    r4 r16  
    11#!/bin/sh
    22
    3 gcc -ggdb -Wl,-z,relro,-z,now -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 csamp.c -lpcap -o ../bin/csamp
     3gcc -ggdb -Wl,-z,relro,-z,now -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 listen.c -lpcap -o ../bin/nanown-listen
  • trunk/src/listen.c

    r4 r16  
    188188    if(besttst != -1)
    189189    {
     190#if DEBUG
    190191      fprintf(stderr, "INFO: Attempting to set the timestamp source to: %s\n",
    191192              pcap_tstamp_type_val_to_name(besttst));
     193#endif
    192194      if(pcap_set_tstamp_type(ret_val, besttst) != 0)
    193195        fprintf(stderr, "WARN: Failed to set preferred timestamp source.\n");
Note: See TracChangeset for help on using the changeset viewer.