<86>May 31 11:15:17 userdel[3756413]: delete user 'rooter'
<86>May 31 11:15:17 userdel[3756413]: removed group 'rooter' owned by 'rooter'
<86>May 31 11:15:17 userdel[3756413]: removed shadow group 'rooter' owned by 'rooter'
<86>May 31 11:15:17 groupadd[3756440]: group added to /etc/group: name=rooter, GID=654
<86>May 31 11:15:17 groupadd[3756440]: group added to /etc/gshadow: name=rooter
<86>May 31 11:15:17 groupadd[3756440]: new group: name=rooter, GID=654
<86>May 31 11:15:17 useradd[3756459]: new user: name=rooter, UID=654, GID=654, home=/root, shell=/bin/bash
<86>May 31 11:15:17 userdel[3756491]: delete user 'builder'
<86>May 31 11:15:17 userdel[3756491]: removed group 'builder' owned by 'builder'
<86>May 31 11:15:17 userdel[3756491]: removed shadow group 'builder' owned by 'builder'
<86>May 31 11:15:17 groupadd[3756512]: group added to /etc/group: name=builder, GID=655
<86>May 31 11:15:17 groupadd[3756512]: group added to /etc/gshadow: name=builder
<86>May 31 11:15:17 groupadd[3756512]: new group: name=builder, GID=655
<86>May 31 11:15:17 useradd[3756535]: new user: name=builder, UID=655, GID=655, home=/usr/src, shell=/bin/bash
<13>May 31 11:15:20 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed
<13>May 31 11:15:20 rpmi: liblz4-1:1.9.3-alt1 sisyphus+262305.100.1.1 1606099167 installed
<13>May 31 11:15:20 rpmi: libgpg-error-1.41-alt4 sisyphus+264254.200.1.1 1609440111 installed
<13>May 31 11:15:20 rpmi: libgcrypt20-1.9.2-alt1 sisyphus+266496.100.1.1 1613559234 installed
<13>May 31 11:15:20 rpmi: libsystemd-1:248.3-alt1 sisyphus+272702.500.6.1 1622206974 installed
<13>May 31 11:15:20 rpmi: libdbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203693 installed
<13>May 31 11:15:20 rpmi: libpcap0.8-2:1.9.1-alt2 sisyphus+252303.100.1.1 1590571652 installed
<13>May 31 11:15:20 rpmi: libpcap-devel-2:1.9.1-alt2 sisyphus+252303.100.1.1 1590571652 installed
<13>May 31 11:15:20 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/sniffit-0.5-alt1.nosrc.rpm (w1.gzdio)
Installing sniffit-0.5-alt1.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.98324
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf sniffit-0.5
+ echo 'Source #0 (sniffit-0.5.tar.gz):'
Source #0 (sniffit-0.5.tar.gz):
+ /bin/gzip -dc /usr/src/RPM/SOURCES/sniffit-0.5.tar.gz
+ /bin/tar -xf -
+ cd sniffit-0.5
+ /bin/chmod -c -Rf u+rwX,go-w .
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.98324
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd sniffit-0.5
+ autoreconf -fisv
autoreconf-default: Entering directory `.'
autoreconf-default: configure.ac: not using Gettext
autoreconf-default: running: aclocal --force 
autoreconf-default: configure.ac: tracing
autoreconf-default: configure.ac: not using Libtool
autoreconf-default: configure.ac: not using Intltool
autoreconf-default: configure.ac: not using gtk-doc
autoreconf-default: running: /usr/bin/autoconf-2.60 --force
autoreconf-default: running: /usr/bin/autoheader-2.60 --force
autoreconf-default: running: automake --add-missing --force-missing
configure.ac:12: installing './compile'
configure.ac:62: installing './install-sh'
configure.ac:62: installing './missing'
src/Makefile.am: installing './depcomp'
autoreconf-default: Leaving directory `.'
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export FCFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=' -march=i586 -mtune=generic'
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ xargs -ri dirname -- '{}'
+ readlink -e -- ./configure
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ sort -u
+ ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --sbindir=/usr/bin
configure: WARNING: unrecognized options: --without-included-gettext
checking for i586-alt-linux-gcc... i586-alt-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i586-alt-linux-gcc accepts -g... yes
checking for i586-alt-linux-gcc option to accept ISO C89... none needed
checking whether i586-alt-linux-gcc understands -c and -o together... yes
checking for main in -lncurses... yes
checking for pcap_open_live in -lpcap... yes
checking how to run the C preprocessor... i586-alt-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for size_t... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for alarm... yes
checking for bzero... yes
checking for gethostbyname... yes
checking for socket... yes
checking for strchr... yes
checking for strdup... yes
checking for strstr... yes
checking for shmget... yes
checking for atexit... yes
checking size of unsigned short int... 2
checking size of unsigned long int... 4
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of i586-alt-linux-gcc... none
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --without-included-gettext
+ make -j8 OBJ_OPT=-g 'EXE_OPT=-lpcap -g'
make  all-recursive
Making all in src
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1  -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o sn_resolv.o sn_resolv.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1  -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o sn_packets.o sn_packets.c
sn_packets.c: In function 'unwrap_packet':
sn_packets.c:68:18: warning: passing argument 1 of 'in_cksum' from incompatible pointer type [-Wincompatible-pointer-types]
   68 |   if(in_cksum((sp+PROTO_HEAD),unwrapped->IP_len) != IPhead.checksum)
      |               ~~~^~~~~~~~~~~~
      |                  |
      |                  unsigned char *
sn_packets.c:14:41: note: expected 'short unsigned int *' but argument is of type 'unsigned char *'
   14 | unsigned short in_cksum(unsigned short *addr,int len)
      |                         ~~~~~~~~~~~~~~~~^~~~
sn_packets.c:46:6: warning: unused variable 'i' [-Wunused-variable]
   46 |  int i;
      |      ^
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1  -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o sn_logfile.o sn_logfile.c
sn_logfile.c: In function 'open_logfile':
sn_logfile.c:96:8: warning: passing argument 1 of 'fchmod' makes integer from pointer without a cast [-Wint-conversion]
   96 | fchmod(LogFILE,  S_IWUSR|S_IRUSR);
      |        ^~~~~~~
      |        |
      |        FILE *
In file included from sn_logfile.c:9:
/usr/include/sys/stat.h:293:24: note: expected 'int' but argument is of type 'FILE *'
  293 | extern int fchmod (int __fd, __mode_t __mode) __THROW;
      |                    ~~~~^~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1  -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o sn_generation.o sn_generation.c
sn_generation.c: In function 'exec_generate':
sn_generation.c:66:1: warning: implicit declaration of function 'input_field' [-Wimplicit-function-declaration]
   66 | input_field(msg,NULL,0);
      | ^~~~~~~~~~~
sn_generation.c:67:1: warning: implicit declaration of function 'forced_refresh' [-Wimplicit-function-declaration]
   67 | forced_refresh();
      | ^~~~~~~~~~~~~~
sn_generation.c: In function 'open_sending':
sn_generation.c:131:5: warning: unused variable 'dummy' [-Wunused-variable]
  131 | int dummy=1;
      |     ^~~~~
sn_generation.c:129:18: warning: unused variable 'sp_proto' [-Wunused-variable]
  129 | struct protoent *sp_proto;
      |                  ^~~~~~~~
sn_generation.c: In function 'sp_send_packet':
sn_generation.c:147:17: warning: unused variable 'sp_help' [-Wunused-variable]
  147 | struct hostent *sp_help;
      |                 ^~~~~~~
sn_generation.c: In function 'sp_fix_IP_packet':
sn_generation.c:205:22: warning: implicit declaration of function 'in_cksum' [-Wimplicit-function-declaration]
  205 | sp_help_ip->checksum=in_cksum((unsigned short *) (sp->buffer),
      |                      ^~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1  -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o sn_cfgfile.o sn_cfgfile.c
sn_cfgfile.c: In function 'clean_string':
sn_cfgfile.c:131:7: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration]
  131 |  if( (isalnum(string[i]))||(string[i]=='.') )
      |       ^~~~~~~
sn_cfgfile.c: In function 'clean_filename':
sn_cfgfile.c:155:8: warning: implicit declaration of function 'iscntrl' [-Wimplicit-function-declaration]
  155 |  if( !(iscntrl(string[i])) && !(isspace(string[i])) )
      |        ^~~~~~~
sn_cfgfile.c:155:33: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration]
  155 |  if( !(iscntrl(string[i])) && !(isspace(string[i])) )
      |                                 ^~~~~~~
sn_cfgfile.c: In function 'make_nr_dot':
sn_cfgfile.c:175:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  175 | digit=(char *)&hostnr;
      |      ^
sn_cfgfile.c: In function 'interprete_line':
sn_cfgfile.c:239:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  239 |               strcpy(help->host,dot_notation);
      |                      ~~~~^~~~~~
      |                          |
      |                          unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from sn_cfgfile.c:5:
/usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:255:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  255 |        strcpy(help->host, clean_string(strtok(NULL," ")));
      |               ~~~~^~~~~~
      |                   |
      |                   unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from sn_cfgfile.c:5:
/usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:270:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  270 |        strcpy(help->host,dot_notation);
      |               ~~~~^~~~~~
      |                   |
      |                   unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from sn_cfgfile.c:5:
/usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:286:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  286 |        strcpy(help->host, clean_string(strtok(NULL," ")));
      |               ~~~~^~~~~~
      |                   |
      |                   unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from sn_cfgfile.c:5:
/usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:302:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  302 |        strcpy(help->host,dot_notation);
      |               ~~~~^~~~~~
      |                   |
      |                   unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from sn_cfgfile.c:5:
/usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:303:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  303 |        strcpy(helpp->host,dot_notation);
      |               ~~~~~^~~~~~
      |                    |
      |                    unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from sn_cfgfile.c:5:
/usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:326:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  326 |        strcpy(help->host, field);
      |               ~~~~^~~~~~
      |                   |
      |                   unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from sn_cfgfile.c:5:
/usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:327:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  327 |        strcpy(helpp->host, field);
      |               ~~~~~^~~~~~
      |                    |
      |                    unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from sn_cfgfile.c:5:
/usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:348:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  348 |        strcpy(help->host,dot_notation);
      |               ~~~~^~~~~~
      |                   |
      |                   unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from sn_cfgfile.c:5:
/usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:364:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  364 |        strcpy(help->host, clean_string(strtok(NULL," ")));
      |               ~~~~^~~~~~
      |                   |
      |                   unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from sn_cfgfile.c:5:
/usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:379:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  379 |        strcpy(help->host,dot_notation);
      |               ~~~~^~~~~~
      |                   |
      |                   unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from sn_cfgfile.c:5:
/usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:395:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  395 |        strcpy(help->host, clean_string(strtok(NULL," ")));
      |               ~~~~^~~~~~
      |                   |
      |                   unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from sn_cfgfile.c:5:
/usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:411:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  411 |        strcpy(help->host,dot_notation);
      |               ~~~~^~~~~~
      |                   |
      |                   unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from sn_cfgfile.c:5:
/usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:412:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  412 |        strcpy(helpp->host,dot_notation);
      |               ~~~~~^~~~~~
      |                    |
      |                    unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from sn_cfgfile.c:5:
/usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:434:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  434 |        strcpy(help->host, field);
      |               ~~~~^~~~~~
      |                   |
      |                   unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from sn_cfgfile.c:5:
/usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:435:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
  435 |        strcpy(helpp->host, field);
      |               ~~~~~^~~~~~
      |                    |
      |                    unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from sn_cfgfile.c:5:
/usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
sn_cfgfile.c:214:8: warning: unused variable 'i' [-Wunused-variable]
  214 | size_t i;
      |        ^
sn_cfgfile.c: In function 'read_cfg_file':
sn_cfgfile.c:452:8: warning: unused variable 'line_length' [-Wunused-variable]
  452 | size_t line_length;
      |        ^~~~~~~~~~~
sn_cfgfile.c:463:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  463 |  fgets(lineptr,259,cfgfile);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1  -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o sn_interface.o sn_interface.c
sn_interface.c: In function 'mask_status':
sn_interface.c:195:3: warning: assignment to 'unsigned char *' from incompatible pointer type '_32_bit *' {aka 'unsigned int *'} [-Wincompatible-pointer-types]
  195 | ad=&(mask->source_ip);
      |   ^
sn_interface.c:201:3: warning: assignment to 'unsigned char *' from incompatible pointer type '_32_bit *' {aka 'unsigned int *'} [-Wincompatible-pointer-types]
  201 | ad=&(mask->destination_ip);
      |   ^
sn_interface.c: In function 'menu_line':
sn_interface.c:365:5: warning: unused variable 'i' [-Wunused-variable]
  365 | int i;
      |     ^
sn_interface.c: In function 'input_field':
sn_interface.c:381:6: warning: unused variable 'i' [-Wunused-variable]
  381 |  int i;
      |      ^
sn_interface.c: In function 'interaction':
sn_interface.c:470:8: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration]
  470 |        isprint(*(connection_data+i))?
      |        ^~~~~~~
sn_interface.c: In function 'run_interface':
sn_interface.c:690:5: warning: unused variable 'i' [-Wunused-variable]
  690 | int i,key_hit;
      |     ^
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1  -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o sniffit.o sniffit.c
In file included from sn_plugins.h:23,
                 from sniffit.c:35:
dns_plugin.plug: In function 'PL_DNS_plugin':
dns_plugin.plug:87:12: warning: assignment to 'struct PL_DNS_header *' from incompatible pointer type 'struct DNS_header *' [-Wincompatible-pointer-types]
   87 | dns_dnshead= (struct DNS_header *) (dns_buffer+udp_start+sizeof(struct UDP_header));
      |            ^
dns_plugin.plug:122:25: warning: pointer targets in passing argument 1 of 'PL_DNS_decode' differ in signedness [-Wpointer-sign]
  122 |   dec_pos=PL_DNS_decode(dns_p,dec_pos,NULL,0);
      |                         ^~~~~
      |                         |
      |                         unsigned char *
dns_plugin.plug:30:25: note: expected 'char *' but argument is of type 'unsigned char *'
   30 | int PL_DNS_decode(char *buf, int start_pos,char *string, int start_string)
      |                   ~~~~~~^~~
dns_plugin.plug:142:25: warning: pointer targets in passing argument 1 of 'PL_DNS_decode' differ in signedness [-Wpointer-sign]
  142 |   dec_pos=PL_DNS_decode(dns_p,dec_pos,NULL,0);
      |                         ^~~~~
      |                         |
      |                         unsigned char *
dns_plugin.plug:30:25: note: expected 'char *' but argument is of type 'unsigned char *'
   30 | int PL_DNS_decode(char *buf, int start_pos,char *string, int start_string)
      |                   ~~~~~~^~~
dns_plugin.plug:77:6: warning: unused variable 'pos' [-Wunused-variable]
   77 | long pos;
      |      ^~~
dns_plugin.plug:76:47: warning: variable 'len' set but not used [-Wunused-but-set-variable]
   76 | int i, j, dec_pos, answers, count, udp_start, len;
      |                                               ^~~
dns_plugin.plug:76:29: warning: unused variable 'count' [-Wunused-variable]
   76 | int i, j, dec_pos, answers, count, udp_start, len;
      |                             ^~~~~
sniffit.c: In function 'strlower':
sniffit.c:127:22: warning: implicit declaration of function 'isupper' [-Wimplicit-function-declaration]
  127 |     *(string + i) = (isupper (*(string + i)) ? tolower (*(string + i)) : *(string + i));
      |                      ^~~~~~~
sniffit.c:127:48: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration]
  127 |     *(string + i) = (isupper (*(string + i)) ? tolower (*(string + i)) : *(string + i));
      |                                                ^~~~~~~
sniffit.c: In function 'record_buf':
sniffit.c:386:11: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration]
  386 |       if (isprint (data[i]))
      |           ^~~~~~~
sniffit.c: In function 'sb_shift':
sniffit.c:405:10: warning: unused variable 'j' [-Wunused-variable]
  405 |   int i, j;
      |          ^
sniffit.c: In function 'check_packet':
sniffit.c:546:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  546 |    if (MODE == DEST && ipaddr != iphead.destination /* -t */
      |        ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:551:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  550 |        MODE == BOTH && ipaddr != iphead.destination /* -b */
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  551 |        && ipaddr != iphead.source
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:565:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  565 |        if (MODE == DEST && (strncmp (wc_dest, IP, n_s) != 0) /* -t */
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:570:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  569 |     MODE == BOTH && (strncmp (wc_dest, IP, n_s) != 0) /* -b */
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  570 |                  && (strncmp (wc_so, IP, n_s) != 0)
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:602:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
  602 |      if (strcmp (wc_so, str_IP) == 0)
      |                         ^~~~~~
      |                         |
      |                         unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  140 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
sniffit.c:611:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  611 |      if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0)
      |                                          ^~~~~~
      |                                          |
      |                                          unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  391 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
sniffit.c:611:26: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
  611 |      if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0)
      |                          ^~~~~~
      |                          |
      |                          unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                                       ~~~~~~~~~~~~^~~~
sniffit.c:641:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
  641 |      if (strcmp (wc_dest, str_IP) == 0)
      |                           ^~~~~~
      |                           |
      |                           unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  140 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
sniffit.c:650:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  650 |      if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                            ^~~~~~
      |                                            |
      |                                            unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  391 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
sniffit.c:650:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
  650 |      if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                            ^~~~~~
      |                            |
      |                            unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                                       ~~~~~~~~~~~~^~~~
sniffit.c:680:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
  680 |      if (strcmp (wc_so, str_IP) == 0)
      |                         ^~~~~~
      |                         |
      |                         unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  140 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
sniffit.c:689:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
  689 |      if (strcmp (wc_so, str_IP) == 0)
      |                         ^~~~~~
      |                         |
      |                         unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  140 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
sniffit.c:720:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  720 |      if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                            ^~~~~~
      |                                            |
      |                                            unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  391 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
sniffit.c:720:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
  720 |      if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                            ^~~~~~
      |                            |
      |                            unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                                       ~~~~~~~~~~~~^~~~
sniffit.c:729:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  729 |      if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                            ^~~~~~
      |                                            |
      |                                            unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  391 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
sniffit.c:729:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
  729 |      if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                            ^~~~~~
      |                            |
      |                            unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                                       ~~~~~~~~~~~~^~~~
sniffit.c:842:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  842 |    if (MODE == DEST && ipaddr != iphead.destination /* -t */
      |        ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:847:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  846 |        MODE == BOTH && ipaddr != iphead.destination /* -b */
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  847 |        && ipaddr != iphead.source
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:858:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  858 |        if (MODE == DEST && (strncmp (wc_dest, IP, n_s) != 0) /* -t */
      |            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:863:5: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  862 |     MODE == BOTH && (strncmp (wc_dest, IP, n_s) != 0) /* -b */
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  863 |     && (strncmp (wc_so, IP, n_s) != 0)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:893:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
  893 |      if (strcmp (wc_so, str_IP) == 0)
      |                         ^~~~~~
      |                         |
      |                         unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  140 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
sniffit.c:904:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  904 |      if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0)
      |                                          ^~~~~~
      |                                          |
      |                                          unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  391 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
sniffit.c:904:26: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
  904 |      if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0)
      |                          ^~~~~~
      |                          |
      |                          unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                                       ~~~~~~~~~~~~^~~~
sniffit.c:934:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
  934 |      if (strcmp (wc_dest, str_IP) == 0)
      |                           ^~~~~~
      |                           |
      |                           unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  140 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
sniffit.c:945:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  945 |      if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                            ^~~~~~
      |                                            |
      |                                            unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  391 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
sniffit.c:945:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
  945 |      if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                            ^~~~~~
      |                            |
      |                            unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                                       ~~~~~~~~~~~~^~~~
sniffit.c:973:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
  973 |      if (strcmp (wc_so, str_IP) == 0)
      |                         ^~~~~~
      |                         |
      |                         unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  140 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
sniffit.c:982:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign]
  982 |      if (strcmp (wc_so, str_IP) == 0)
      |                         ^~~~~~
      |                         |
      |                         unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  140 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
sniffit.c:1010:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
 1010 |      if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                            ^~~~~~
      |                                            |
      |                                            unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  391 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
sniffit.c:1010:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
 1010 |      if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                            ^~~~~~
      |                            |
      |                            unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                                       ~~~~~~~~~~~~^~~~
sniffit.c:1019:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
 1019 |      if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                                            ^~~~~~
      |                                            |
      |                                            unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
  391 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
sniffit.c:1019:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
 1019 |      if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0)
      |                            ^~~~~~
      |                            |
      |                            unsigned char *
In file included from sniffit.c:10:
/usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *'
  143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                                       ~~~~~~~~~~~~^~~~
sniffit.c: In function 'packethandler':
sniffit.c:1107:43: warning: passing argument 2 of 'pcap_dump' from incompatible pointer type [-Wincompatible-pointer-types]
 1107 |     pcap_dump((unsigned char *) dev_dump, p_header, sp);
      |                                           ^~~~~~~~
      |                                           |
      |                                           const struct packetheader *
In file included from /usr/include/pcap.h:43,
                 from sniffit.c:24:
/usr/include/pcap/pcap.h:517:35: note: expected 'const struct pcap_pkthdr *' but argument is of type 'const struct packetheader *'
  517 | PCAP_API void pcap_dump(u_char *, const struct pcap_pkthdr *, const u_char *);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
sniffit.c:1108:12: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
 1108 |     return 1;
      |            ^
sniffit.c:1154:32: warning: format '%lX' expects argument of type 'long unsigned int', but argument 2 has type '__uint32_t' {aka 'unsigned int'} [-Wformat=]
 1154 |       printf ("   SEQ (hex): %lX   ", ntohl (tcphead.seq_nr));
      |                              ~~^
      |                                |
      |                                long unsigned int
      |                              %X
sniffit.c:1156:24: warning: format '%lX' expects argument of type 'long unsigned int', but argument 2 has type '__uint32_t' {aka 'unsigned int'} [-Wformat=]
 1156 |  printf ("ACK (hex): %lX\n", ntohl (tcphead.ACK_nr));
      |                      ~~^
      |                        |
      |                        long unsigned int
      |                      %X
sniffit.c:1189:10: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
 1189 |   return 1;
      |          ^
sniffit.c:1193:10: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
 1193 |   return 1;
      |          ^
sniffit.c:1259:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
 1259 |       return 1;
      |              ^
In file included from sniffit.c:1270:
sn_analyse.c:13:9: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
   13 |  return 1;
      |         ^
sn_analyse.c:29:10: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
   29 |   return 1;
      |          ^
sn_analyse.c:43:37: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
   43 | if((dummy&FIN)||(dummy&RST)) return 1; /* needed, cauz entry don't exist  */
      |                                     ^
sn_analyse.c:53:51: warning: passing argument 3 of 'sbuf_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   53 |   sbuf_update(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len);
      |                                                   ^~~~
sniffit.c:413:13: note: expected 'char *' but argument is of type 'const unsigned char *'
  413 |       char *data, int len)
      |       ~~~~~~^~~~
In file included from sniffit.c:1270:
sn_analyse.c:83:52: warning: passing argument 3 of 'record_buf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   83 |     record_buf(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len,0);
      |                                                    ^~~~
sniffit.c:358:12: note: expected 'char *' but argument is of type 'const unsigned char *'
  358 |      char *data, int len, int type)
      |      ~~~~~~^~~~
In file included from sniffit.c:1270:
sn_analyse.c:95:54: warning: passing argument 3 of 'record_buf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   95 |       record_buf(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len,0);
      |                                                      ^~~~
sniffit.c:358:12: note: expected 'char *' but argument is of type 'const unsigned char *'
  358 |      char *data, int len, int type)
      |      ~~~~~~^~~~
In file included from sniffit.c:1270:
sn_analyse.c:117:51: warning: passing argument 3 of 'sbuf_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  117 |   sbuf_update(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len);
      |                                                   ^~~~
sniffit.c:413:13: note: expected 'char *' but argument is of type 'const unsigned char *'
  413 |       char *data, int len)
      |       ~~~~~~^~~~
In file included from sniffit.c:1270:
sn_analyse.c:157:22: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign]
  157 |     strncpy(workbuf1,data,len);
      |                      ^~~~
      |                      |
      |                      const unsigned char *
In file included from /usr/include/features.h:465,
                 from /usr/include/unistd.h:25,
                 from sniffit.c:6:
/usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const unsigned char *'
   88 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
      | ^~~~~
In file included from sniffit.c:1270:
sn_analyse.c:200:8: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
  200 | return 1;
      |        ^
sn_analyse.c:201:8: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
  201 | return 1;  /* DON'T FORGET THEM!!!! */
      |        ^
sniffit.c:1339:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
 1339 |       return 1;
      |              ^
sniffit.c:1372:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion]
 1372 |       return 1;
      |              ^
sniffit.c:1081:26: warning: unused variable 'position' [-Wunused-variable]
 1081 |   unsigned long datalen, position, total_length, i, n;
      |                          ^~~~~~~~
sniffit.c:1081:17: warning: unused variable 'datalen' [-Wunused-variable]
 1081 |   unsigned long datalen, position, total_length, i, n;
      |                 ^~~~~~~
In file included from sniffit.c:1458:
sn_conn_desc.c: In function 'check_mask':
sn_conn_desc.c:24:12: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration]
   24 |       if( (isalnum(data[i]) || ispunct(data[i]) || data[i]==' ')&&(j<(*DESC_LEN)-1) )
      |            ^~~~~~~
sn_conn_desc.c:24:32: warning: implicit declaration of function 'ispunct' [-Wimplicit-function-declaration]
   24 |       if( (isalnum(data[i]) || ispunct(data[i]) || data[i]==' ')&&(j<(*DESC_LEN)-1) )
      |                                ^~~~~~~
sn_conn_desc.c:27:15: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration]
   27 |         {if( (isspace(data[i]) && data[i]!=' ')&&(j<(*DESC_LEN)-1) )
      |               ^~~~~~~
sniffit.c: In function 'main':
sniffit.c:1522:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
 1522 |   signal (SIGINT,  my_exit); /* graceful termination in different ways */
      |                    ^~~~~~~
      |                    |
      |                    void (*)(void)
In file included from sniffit.c:7:
/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
sniffit.c:1523:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
 1523 |   signal (SIGHUP,  my_exit);
      |                    ^~~~~~~
      |                    |
      |                    void (*)(void)
In file included from sniffit.c:7:
/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
sniffit.c:1524:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
 1524 |   signal (SIGTERM, my_exit);
      |                    ^~~~~~~
      |                    |
      |                    void (*)(void)
In file included from sniffit.c:7:
/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
sniffit.c:1758:36: warning: pointer targets in passing argument 1 of 'pcap_open_offline' differ in signedness [-Wpointer-sign]
 1758 |     if((dev_desc=pcap_open_offline(DUMPfile,ebuf))==NULL)
      |                                    ^~~~~~~~
      |                                    |
      |                                    unsigned char *
In file included from /usr/include/pcap.h:43,
                 from sniffit.c:24:
/usr/include/pcap/pcap.h:413:36: note: expected 'const char *' but argument is of type 'unsigned char *'
  413 | PCAP_API pcap_t *pcap_open_offline(const char *, char *);
      |                                    ^~~~~~~~~~~~
sniffit.c:1773:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
 1773 |     if((dev = pcap_lookupdev (ebuf)) == NULL)
      |     ^~
In file included from /usr/include/pcap.h:43,
                 from sniffit.c:24:
/usr/include/pcap/pcap.h:328:16: note: declared here
  328 | PCAP_API char *pcap_lookupdev(char *)
      |                ^~~~~~~~~~~~~~
sniffit.c:1793:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
 1793 |   if(!(DUMPMODE&16))
      |     ^
sniffit.c:1800:20: warning: extra tokens at end of #ifdef directive
 1800 | #ifdef PLUGIN0_INIT()
      |                    ^
sniffit.c:1804:20: warning: extra tokens at end of #ifdef directive
 1804 | #ifdef PLUGIN1_INIT()
      |                    ^
sniffit.c:1808:20: warning: extra tokens at end of #ifdef directive
 1808 | #ifdef PLUGIN2_INIT()
      |                    ^
sniffit.c:1812:20: warning: extra tokens at end of #ifdef directive
 1812 | #ifdef PLUGIN3_INIT()
      |                    ^
sniffit.c:1816:20: warning: extra tokens at end of #ifdef directive
 1816 | #ifdef PLUGIN4_INIT()
      |                    ^
sniffit.c:1820:20: warning: extra tokens at end of #ifdef directive
 1820 | #ifdef PLUGIN5_INIT()
      |                    ^
sniffit.c:1824:20: warning: extra tokens at end of #ifdef directive
 1824 | #ifdef PLUGIN6_INIT()
      |                    ^
sniffit.c:1828:20: warning: extra tokens at end of #ifdef directive
 1828 | #ifdef PLUGIN7_INIT()
      |                    ^
sniffit.c:1832:20: warning: extra tokens at end of #ifdef directive
 1832 | #ifdef PLUGIN8_INIT()
      |                    ^
sniffit.c:1836:20: warning: extra tokens at end of #ifdef directive
 1836 | #ifdef PLUGIN9_INIT()
      |                    ^
sniffit.c:1864:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
 1864 |       printf ("Shared %d\n", memsize);
      |                       ~^     ~~~~~~~
      |                        |     |
      |                        int   long unsigned int
      |                       %ld
sniffit.c:1867:18: warning: assignment to 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types]
 1867 |       DATAlength = timing + sizeof (int);
      |                  ^
sniffit.c:1868:23: warning: assignment to 'char *' from incompatible pointer type 'int *' [-Wincompatible-pointer-types]
 1868 |       connection_data = DATAlength + sizeof (int);
      |                       ^
sniffit.c:1869:18: warning: assignment to 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types]
 1869 |       LISTlength = connection_data + LENGTH_OF_INTERPROC_DATA;
      |                  ^
sniffit.c:1870:12: warning: assignment to 'struct snif_mask *' from incompatible pointer type 'int *' [-Wincompatible-pointer-types]
 1870 |       mask = LISTlength + sizeof (int);
      |            ^
sniffit.c:1871:26: warning: assignment to 'char *' from incompatible pointer type 'struct snif_mask *' [-Wincompatible-pointer-types]
 1871 |       logged_connections = mask + sizeof (struct snif_mask);
      |                          ^
sniffit.c:1874:25: warning: assignment to 'unsigned int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types]
 1874 |       TCP_nr_of_packets = running_connections + (sizeof (struct shared_conn_data) * CONNECTION_CAPACITY);
      |                         ^
sniffit.c:1875:28: warning: assignment to 'long unsigned int *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types]
 1875 |       TCP_bytes_in_packets = TCP_nr_of_packets + sizeof (int);
      |                            ^
sniffit.c:1876:26: warning: assignment to 'unsigned int *' from incompatible pointer type 'long unsigned int *' [-Wincompatible-pointer-types]
 1876 |       ICMP_nr_of_packets = TCP_bytes_in_packets + sizeof (unsigned long);
      |                          ^
sniffit.c:1878:28: warning: assignment to 'long unsigned int *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types]
 1878 |       UDP_bytes_in_packets = UDP_nr_of_packets + sizeof (int);
      |                            ^
sniffit.c:1879:24: warning: assignment to 'unsigned int *' from incompatible pointer type 'long unsigned int *' [-Wincompatible-pointer-types]
 1879 |       IP_nr_of_packets = UDP_bytes_in_packets + sizeof (unsigned long);
      |                        ^
sniffit.c:1880:16: warning: pointer targets in assignment from 'unsigned int *' to 'int *' differ in signedness [-Wpointer-sign]
 1880 |       DESC_LEN = IP_nr_of_packets + sizeof (int);
      |                ^
sniffit.c:1894:11: warning: passing argument 3 of 'pcap_loop' from incompatible pointer type [-Wincompatible-pointer-types]
 1894 |           interactive_packethandler, NULL) < 0)
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~
      |           |
      |           void (* (*)(char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *) {aka void (* (*)(char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)}
In file included from /usr/include/pcap.h:43,
                 from sniffit.c:24:
/usr/include/pcap/pcap.h:442:39: note: expected 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} but argument is of type 'void (* (*)(char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *)' {aka 'void (* (*)(char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'}
  442 | PCAP_API int pcap_loop(pcap_t *, int, pcap_handler, u_char *);
      |                                       ^~~~~~~~~~~~
sniffit.c:1921:47: warning: pointer targets in passing argument 2 of 'pcap_dump_open' differ in signedness [-Wpointer-sign]
 1921 |         if((dev_dump=pcap_dump_open(dev_desc, DUMPfile))==NULL)
      |                                               ^~~~~~~~
      |                                               |
      |                                               unsigned char *
In file included from /usr/include/pcap.h:43,
                 from sniffit.c:24:
/usr/include/pcap/pcap.h:488:50: note: expected 'const char *' but argument is of type 'unsigned char *'
  488 | PCAP_API pcap_dumper_t *pcap_dump_open(pcap_t *, const char *);
      |                                                  ^~~~~~~~~~~~
sniffit.c:1927:41: warning: passing argument 3 of 'pcap_loop' from incompatible pointer type [-Wincompatible-pointer-types]
 1927 |       switch (pcap_loop (dev_desc, CNT, packethandler, (unsigned char *) &ipaddr))
      |                                         ^~~~~~~~~~~~~
      |                                         |
      |                                         void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *) {aka void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)}
In file included from /usr/include/pcap.h:43,
                 from sniffit.c:24:
/usr/include/pcap/pcap.h:442:39: note: expected 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} but argument is of type 'void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *)' {aka 'void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'}
  442 | PCAP_API int pcap_loop(pcap_t *, int, pcap_handler, u_char *);
      |                                       ^~~~~~~~~~~~
sniffit.c:1513:30: warning: unused variable 'buffer' [-Wunused-variable]
 1513 |   char *dev, forced_dev[20], buffer[SNAPLEN];
      |                              ^~~~~~
sniffit.c: In function 'packethandler':
sniffit.c:1374:1: warning: control reaches end of non-void function [-Wreturn-type]
 1374 | }
      | ^
sniffit.c: In function 'interactive_packethandler':
sniffit.c:1506:1: warning: control reaches end of non-void function [-Wreturn-type]
 1506 | }
      | ^
At top level:
sniffit.c:46:13: warning: 'Copyright' defined but not used [-Wunused-variable]
   46 | static char Copyright[] =
      |             ^~~~~~~~~
sniffit.c: In function 'main':
sniffit.c:1921:22: warning: 'DUMPfile' may be used uninitialized in this function [-Wmaybe-uninitialized]
 1921 |         if((dev_dump=pcap_dump_open(dev_desc, DUMPfile))==NULL)
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
i586-alt-linux-gcc -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic   -o sniffit sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o sn_logfile.o sn_resolv.o sniffit.o  -lpcap -lncurses 
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.54942
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/sniffit-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/sniffit-buildroot
+ PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games
+ cd sniffit-0.5
+ make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/sniffit-buildroot
make: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5'
Making install in src
make[1]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
 /bin/mkdir -p '/usr/src/tmp/sniffit-buildroot/usr/bin'
  /usr/libexec/rpm-build/install -p sniffit '/usr/src/tmp/sniffit-buildroot/usr/bin'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[1]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5'
make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/src/tmp/sniffit-buildroot/usr/share/man/man5'
 /usr/libexec/rpm-build/install -p -m 644 man/sniffit.5 '/usr/src/tmp/sniffit-buildroot/usr/share/man/man5'
 /bin/mkdir -p '/usr/src/tmp/sniffit-buildroot/usr/share/man/man8'
 /usr/libexec/rpm-build/install -p -m 644 man/sniffit.8 '/usr/src/tmp/sniffit-buildroot/usr/share/man/man8'
make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5'
make[1]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5'
make: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5'
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/sniffit-buildroot (auto)
Verifying and fixing files in /usr/src/tmp/sniffit-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig)
Checking contents of files in /usr/src/tmp/sniffit-buildroot/ (default)
Compressing files in /usr/src/tmp/sniffit-buildroot (auto)
Verifying ELF objects in /usr/src/tmp/sniffit-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
verify-elf: WARNING: ./usr/bin/sniffit: uses non-LFS functions: __xstat fopen
Processing files: sniffit-0.5-alt1
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.90811
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd sniffit-0.5
+ DOCDIR=/usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ export DOCDIR
+ rm -rf /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ /bin/mkdir -p /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ cp -prL docs examples /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ chmod -R go-w /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ chmod -R a+rX /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ cp -prL CONTRIBUTING.md README.md /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ chmod -R go-w /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ chmod -R a+rX /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Y6t3rJ
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gqMeLG
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libncurses.so.5 >= set:mhWiBzDlR0Bkuo7XDjOdO2QJJgVwMWJHYjDqHmtuWz2lW5h6tS4MZ9juEm8UXgHlCAA1NIM1e1, libpcap.so.0.8 >= set:kgdcXjtB4GvnPpzJRScZur0, libtinfo.so.5 >= set:liZKbfJOZ56XhVGZ0aZiqL5, rtld(GNU_HASH)
Requires(rpmlib): rpmlib(SetVersions)
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5QmaeI
Creating sniffit-debuginfo package
Processing files: sniffit-debuginfo-0.5-alt1
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HasrUI
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3BeldI
find-requires: running scripts (debuginfo)
Requires: sniffit = 0.5-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libncurses.so.5), debug(libpcap.so.0.8), debug(libtinfo.so.5)
Adding to sniffit-debuginfo a strict dependency on sniffit
Wrote: /usr/src/RPM/RPMS/i586/sniffit-0.5-alt1.i586.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/i586/sniffit-debuginfo-0.5-alt1.i586.rpm (w2.lzdio)
11.72user 4.17system 0:18.73elapsed 84%CPU (0avgtext+0avgdata 36768maxresident)k
0inputs+0outputs (0major+632307minor)pagefaults 0swaps
18.17user 10.16system 0:29.96elapsed 94%CPU (0avgtext+0avgdata 107180maxresident)k
512inputs+0outputs (0major+917899minor)pagefaults 0swaps