Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/m/mz/mz_0.40-1.1+b2_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/mz-0.40-1.1+b2y_wnucbv/mz_0.40-1.1+b2_amd64.buildinfo Get source package info: mz=0.40-1.1 Source URL: http://snapshot.notset.fr/mr/package/mz/0.40-1.1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11 automake=1:1.16.1-4 autopoint=0.19.8.1-9 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.46 bash=5.0-4 binutils=2.33-2 binutils-common=2.33-2 binutils-x86-64-linux-gnu=2.33-2 bsdmainutils=11.1.2+b1 bsdutils=1:2.34-0.1 build-essential=12.8 bzip2=1.0.8-2 cmake=3.13.4-1 cmake-data=3.13.4-1 coreutils=8.30-3+b1 cpp=4:9.2.1-3.1 cpp-9=9.2.1-9 dash=0.5.10.2-6 debconf=1.5.73 debhelper=12.6.1 debianutils=4.9 dh-autoreconf=19 dh-strip-nondeterminism=1.6.0-1 diffutils=1:3.7-3 dpkg=1.19.7 dpkg-dev=1.19.7 dwz=0.13-1 fdisk=2.34-0.1 file=1:5.37-5 findutils=4.7.0-1 g++=4:9.2.1-3.1 g++-9=9.2.1-9 gcc=4:9.2.1-3.1 gcc-9=9.2.1-9 gcc-9-base=9.2.1-9 gettext=0.19.8.1-9 gettext-base=0.19.8.1-9 grep=3.3-1 groff-base=1.22.4-3 gzip=1.9-3+b1 hostname=3.22+b1 init-system-helpers=1.57 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-5 libarchive-zip-perl=1.67-1 libarchive13=3.4.0-1 libasan5=9.2.1-9 libatomic1=9.2.1-9 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-2 libaudit1=1:2.8.5-2 libbinutils=2.33-2 libblkid1=2.34-0.1 libbrotli1=1.0.7-3 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-2 libc-bin=2.29-2 libc-dev-bin=2.29-2 libc6=2.29-2 libc6-dev=2.29-2 libcap-ng0=0.7.9-2+b1 libcc1-0=9.2.1-9 libcli-dev=1.10.0-1 libcli1.10=1.10.0-1 libcom-err2=1.45.4-1 libcroco3=0.6.13-1 libcurl4=7.66.0-1 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.249 libdebhelper-perl=12.6.1 libdpkg-perl=1.19.7 libelf1=0.176-1.1 libexpat1=2.2.9-1 libfdisk1=2.34-0.1 libffi6=3.2.1-9 libfile-stripnondeterminism-perl=1.6.0-1 libgcc-9-dev=9.2.1-9 libgcc1=1:9.2.1-9 libgcrypt20=1.8.5-3 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.62.1-1 libgmp10=2:6.1.2+dfsg-4 libgnutls30=3.6.9-5 libgomp1=9.2.1-9 libgpg-error0=1.36-7 libgssapi-krb5-2=1.17-6 libhogweed4=3.5.1+really3.4.1-1 libicu63=63.2-2 libidn2-0=2.2.0-2 libisl21=0.21-2 libitm1=9.2.1-9 libjsoncpp1=1.7.4-3+b1 libk5crypto3=1.17-6 libkeyutils1=1.6-6 libkrb5-3=1.17-6 libkrb5support0=1.17-6 libldap-2.4-2=2.4.48+dfsg-1+b1 libldap-common=2.4.48+dfsg-1 liblsan0=9.2.1-9 liblz4-1=1.9.1-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.37-5 libmagic1=1:5.37-5 libmount1=2.34-0.1 libmpc3=1.1.0-1 libmpfr6=4.0.2-1 libncurses6=6.1+20190803-1 libncursesw6=6.1+20190803-1 libnet1=1.1.6+dfsg-3.1 libnet1-dev=1.1.6+dfsg-3.1 libnettle6=3.5.1+really3.4.1-1 libnghttp2-14=1.39.2-1 libp11-kit0=0.23.17-2 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcap0.8=1.9.1-2 libpcap0.8-dev=1.9.1-2 libpcre2-8-0=10.32-5+b1 libpcre3=2:8.39-12+b1 libperl5.30=5.30.0-6 libpipeline1=1.5.1-2 libprocps7=2:3.3.15-2+b1 libpsl5=0.20.2-2 libquadmath0=9.2.1-9 librhash0=1.3.8-1 librtmp1=2.4+20151223.gitfa8646d.1-2 libsasl2-2=2.1.27+dfsg-1 libsasl2-modules-db=2.1.27+dfsg-1 libseccomp2=2.4.1-2 libselinux1=2.9-2+b2 libsigsegv2=2.12-2 libsmartcols1=2.34-0.1 libssh2-1=1.8.0-2.1 libssl1.1=1.1.1d-2 libstdc++-9-dev=9.2.1-9 libstdc++6=9.2.1-9 libsub-override-perl=0.09-2 libsystemd0=242-7 libtasn1-6=4.14-3 libtinfo6=6.1+20190803-1 libtool=2.4.6-11 libtsan0=9.2.1-9 libubsan1=9.2.1-9 libuchardet0=0.0.6-3 libudev1=242-7 libunistring2=0.9.10-2 libuuid1=2.34-0.1 libuv1=1.30.1-1 libxml2=2.9.4+dfsg1-7+b3 libzstd1=1.4.3+dfsg-1 linux-libc-dev=5.2.17-1+b1 login=1:4.7-2 lsb-base=11.1.0 m4=1.4.18-2 make=4.2.1-1.2 man-db=2.8.7-3 mawk=1.3.3-17+b3 ncurses-base=6.1+20190803-1 ncurses-bin=6.1+20190803-1 patch=2.7.6-6 perl=5.30.0-6 perl-base=5.30.0-6 perl-modules-5.30=5.30.0-6 po-debconf=1.0.21 procps=2:3.3.15-2+b1 sed=4.7-1 sensible-utils=0.0.12 sysvinit-utils=2.96~beta-3 tar=1.30+dfsg-6+b1 util-linux=2.34-0.1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-1+b1 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20190706T233220Z/ bullseye main deb-src http://snapshot.notset.fr/archive/debian/20190706T233220Z/ bullseye main deb http://snapshot.notset.fr/archive/debian/20191015T150039Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d mz=0.40-1.1 && mkdir -p /build/mz-0EBz5r && dpkg-source --no-check -x /*.dsc /build/mz-0EBz5r/mz-0.40 && cd /build/mz-0EBz5r/mz-0.40 && { printf '%s' 'mz (0.40-1.1+b2) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against libcli1.10. -- amd64 Build Daemon (x86-grnet-01) Tue, 15 Oct 2019 07:54:57 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/mz-0EBz5r" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/mz-0EBz5r/mz-0.40 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1571126097" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/mz-0EBz5r /tmp/mz-0.40-1.1+b2y_wnucbv bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20191015T150039Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: null I: using /tmp/mmdebstrap.pMuzmQ2U_f as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.pMuzmQ2U_f Reading package lists... Building dependency tree... util-linux is already the newest version (2.34-0.1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20191015T150039Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20191015T150039Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (875 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4508 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.29-2) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20190706T233220Z/ bullseye main deb-src http://snapshot.notset.fr/archive/debian/20190706T233220Z/ bullseye main deb http://snapshot.notset.fr/archive/debian/20191015T150039Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.pMuzmQ2U_f Get:1 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye InRelease [87.0 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20191015T150039Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main Sources [10.2 MB] Get:4 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main amd64 Packages [10.6 MB] Fetched 20.9 MB in 19s (1128 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.pMuzmQ2U_f I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d mz=0.40-1.1 && mkdir -p /build/mz-0EBz5r && dpkg-source --no-check -x /*.dsc /build/mz-0EBz5r/mz-0.40 && cd /build/mz-0EBz5r/mz-0.40 && { printf '%s' 'mz (0.40-1.1+b2) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against libcli1.10. -- amd64 Build Daemon (x86-grnet-01) Tue, 15 Oct 2019 07:54:57 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/mz-0EBz5r"' exec /tmp/mmdebstrap.pMuzmQ2U_f Reading package lists... NOTICE: 'mz' packaging is maintained in the 'Git' version control system at: git://git.debian.org/git/collab-maint/mz.git Please use: git clone git://git.debian.org/git/collab-maint/mz.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 239 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main mz 0.40-1.1 (dsc) [1929 B] Get:2 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main mz 0.40-1.1 (tar) [233 kB] Get:3 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main mz 0.40-1.1 (diff) [4048 B] Fetched 239 kB in 0s (559 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'mz_0.40-1.1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting mz in /build/mz-0EBz5r/mz-0.40 dpkg-source: info: unpacking mz_0.40.orig.tar.gz dpkg-source: info: unpacking mz_0.40-1.1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying fix-spelling-error-in-binary.patch dpkg-source: info: applying gcc5.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/mz-0EBz5r/mz-0.40 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1571126097" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.pMuzmQ2U_f dpkg-buildpackage: info: source package mz dpkg-buildpackage: info: source version 0.40-1.1+b2 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by amd64 Build Daemon (x86-grnet-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 dpkg-source: warning: unknown information field 'Dm-Upload-Allowed' in input data in general section of control info file fakeroot debian/rules clean dh clean dh: Compatibility levels before 9 are deprecated (level 7 in use) dh_clean dh_clean: Compatibility levels before 9 are deprecated (level 7 in use) debian/rules build-arch dh build-arch dh: Compatibility levels before 9 are deprecated (level 7 in use) dh_update_autotools_config -a dh_auto_configure -a dh_auto_configure: Compatibility levels before 9 are deprecated (level 7 in use) cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu .. -- The C compiler identification is GNU 9.2.1 -- The CXX compiler identification is GNU 9.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LOCALSTATEDIR CMAKE_INSTALL_SYSCONFDIR -- Build files have been written to: /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu dh_auto_build -a dh_auto_build: Compatibility levels before 9 are deprecated (level 7 in use) cd obj-x86_64-linux-gnu && make -j1 make[1]: Entering directory '/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu' /usr/bin/cmake -S/build/mz-0EBz5r/mz-0.40 -B/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/CMakeFiles /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu' make -f src/CMakeFiles/mz.dir/build.make src/CMakeFiles/mz.dir/depend make[3]: Entering directory '/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu' cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/mz-0EBz5r/mz-0.40 /build/mz-0EBz5r/mz-0.40/src /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src/CMakeFiles/mz.dir/DependInfo.cmake --color= Scanning dependencies of target mz make[3]: Leaving directory '/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu' make -f src/CMakeFiles/mz.dir/build.make src/CMakeFiles/mz.dir/build make[3]: Entering directory '/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu' [ 1%] Building C object src/CMakeFiles/mz.dir/mz.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mz.o -c /build/mz-0EBz5r/mz-0.40/src/mz.c /build/mz-0EBz5r/mz-0.40/src/mz.c: In function ‘main’: /build/mz-0EBz5r/mz-0.40/src/mz.c:154:26: warning: variable ‘t2’ set but not used [-Wunused-but-set-variable] 154 | libnet_ptag_t t2=0, t3=0, t4=0; // handles to layers | ^~ [ 3%] Building C object src/CMakeFiles/mz.dir/layer1.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/layer1.o -c /build/mz-0EBz5r/mz-0.40/src/layer1.c [ 5%] Building C object src/CMakeFiles/mz.dir/layer2.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/layer2.o -c /build/mz-0EBz5r/mz-0.40/src/layer2.c /build/mz-0EBz5r/mz-0.40/src/layer2.c: In function ‘send_arp’: /build/mz-0EBz5r/mz-0.40/src/layer2.c:130:6: warning: variable ‘tm’ set but not used [-Wunused-but-set-variable] 130 | tm=0; | ^~ [ 6%] Building C object src/CMakeFiles/mz.dir/layer3.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/layer3.o -c /build/mz-0EBz5r/mz-0.40/src/layer3.c [ 8%] Building C object src/CMakeFiles/mz.dir/layer4.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/layer4.o -c /build/mz-0EBz5r/mz-0.40/src/layer4.c /build/mz-0EBz5r/mz-0.40/src/layer4.c: In function ‘create_tcp_packet’: /build/mz-0EBz5r/mz-0.40/src/layer4.c:538:8: warning: variable ‘T’ set but not used [-Wunused-but-set-variable] 538 | int T; // only an abbreviation for tx.packet_mode | ^ [ 10%] Building C object src/CMakeFiles/mz.dir/init.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/init.o -c /build/mz-0EBz5r/mz-0.40/src/init.c [ 11%] Building C object src/CMakeFiles/mz.dir/hextools.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/hextools.o -c /build/mz-0EBz5r/mz-0.40/src/hextools.c [ 13%] Building C object src/CMakeFiles/mz.dir/tools.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/tools.o -c /build/mz-0EBz5r/mz-0.40/src/tools.c /build/mz-0EBz5r/mz-0.40/src/tools.c: In function ‘exists’: /build/mz-0EBz5r/mz-0.40/src/tools.c:819:20: warning: variable ‘len_ch’ set but not used [-Wunused-but-set-variable] 819 | size_t len_str, len_ch; | ^~~~~~ /build/mz-0EBz5r/mz-0.40/src/tools.c: In function ‘getfullpath_cfg’: /build/mz-0EBz5r/mz-0.40/src/tools.c:958:4: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=] 958 | strncat(mz_default_config_path, "/",1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/tools.c:959:30: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 959 | snprintf(filename, 255, "%s%s",mz_default_config_path,tmp); | ^~ ~~~ /build/mz-0EBz5r/mz-0.40/src/tools.c:959:3: note: ‘snprintf’ output between 1 and 287 bytes into a destination of size 255 959 | snprintf(filename, 255, "%s%s",mz_default_config_path,tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/tools.c: In function ‘getfullpath_log’: /build/mz-0EBz5r/mz-0.40/src/tools.c:996:4: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=] 996 | strncat(mz_default_log_path, "/",1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/tools.c:997:30: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 997 | snprintf(filename, 255, "%s%s",mz_default_log_path,tmp); | ^~ ~~~ /build/mz-0EBz5r/mz-0.40/src/tools.c:997:3: note: ‘snprintf’ output between 1 and 287 bytes into a destination of size 255 997 | snprintf(filename, 255, "%s%s",mz_default_log_path,tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 15%] Building C object src/CMakeFiles/mz.dir/lookupdev.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/lookupdev.o -c /build/mz-0EBz5r/mz-0.40/src/lookupdev.c /build/mz-0EBz5r/mz-0.40/src/lookupdev.c: In function ‘get_dev_params’: /build/mz-0EBz5r/mz-0.40/src/lookupdev.c:210:31: warning: variable ‘gw_found’ set but not used [-Wunused-but-set-variable] 210 | int i=0, flag=0, nw_found=0, gw_found=0, devind=0, dev_found=0; | ^~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/lookupdev.c:210:19: warning: variable ‘nw_found’ set but not used [-Wunused-but-set-variable] 210 | int i=0, flag=0, nw_found=0, gw_found=0, devind=0, dev_found=0; | ^~~~~~~~ [ 16%] Building C object src/CMakeFiles/mz.dir/time.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/time.o -c /build/mz-0EBz5r/mz-0.40/src/time.c [ 18%] Building C object src/CMakeFiles/mz.dir/modifications.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/modifications.o -c /build/mz-0EBz5r/mz-0.40/src/modifications.c [ 20%] Building C object src/CMakeFiles/mz.dir/send_eth.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/send_eth.o -c /build/mz-0EBz5r/mz-0.40/src/send_eth.c [ 21%] Building C object src/CMakeFiles/mz.dir/send.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/send.o -c /build/mz-0EBz5r/mz-0.40/src/send.c [ 23%] Building C object src/CMakeFiles/mz.dir/cdp.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cdp.o -c /build/mz-0EBz5r/mz-0.40/src/cdp.c [ 25%] Building C object src/CMakeFiles/mz.dir/rtp.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/rtp.o -c /build/mz-0EBz5r/mz-0.40/src/rtp.c [ 26%] Building C object src/CMakeFiles/mz.dir/dns.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/dns.o -c /build/mz-0EBz5r/mz-0.40/src/dns.c /build/mz-0EBz5r/mz-0.40/src/dns.c: In function ‘create_dns_packet’: /build/mz-0EBz5r/mz-0.40/src/dns.c:125:6: warning: variable ‘dns_type1’ set but not used [-Wunused-but-set-variable] 125 | dns_type1 =0; | ^~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/dns.c:124:6: warning: variable ‘dns_type0’ set but not used [-Wunused-but-set-variable] 124 | dns_type0 =0, | ^~~~~~~~~ [ 28%] Building C object src/CMakeFiles/mz.dir/rcv_rtp.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/rcv_rtp.o -c /build/mz-0EBz5r/mz-0.40/src/rcv_rtp.c /build/mz-0EBz5r/mz-0.40/src/rcv_rtp.c: In function ‘got_rtp_packet’: /build/mz-0EBz5r/mz-0.40/src/rcv_rtp.c:405:10: warning: variable ‘s2’ set but not used [-Wunused-but-set-variable] 405 | int s1, s2; | ^~ /build/mz-0EBz5r/mz-0.40/src/rcv_rtp.c:372:32: warning: variable ‘udp’ set but not used [-Wunused-but-set-variable] 372 | const struct struct_udp *udp; | ^~~ /build/mz-0EBz5r/mz-0.40/src/rcv_rtp.c:370:32: warning: variable ‘ethernet’ set but not used [-Wunused-but-set-variable] 370 | const struct struct_ethernet *ethernet; | ^~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/rcv_rtp.c: In function ‘rcv_rtp_init’: /build/mz-0EBz5r/mz-0.40/src/rcv_rtp.c:181:4: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=] 181 | strncat(argval, "/",1); // ensure that all paths end with "/" | ^~~~~~~~~~~~~~~~~~~~~~ [ 30%] Building C object src/CMakeFiles/mz.dir/syslog.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/syslog.o -c /build/mz-0EBz5r/mz-0.40/src/syslog.c [ 31%] Building C object src/CMakeFiles/mz.dir/cli.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli.o -c /build/mz-0EBz5r/mz-0.40/src/cli.c /build/mz-0EBz5r/mz-0.40/src/cli.c: In function ‘cli’: /build/mz-0EBz5r/mz-0.40/src/cli.c:245:47: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 245 | cli_register_command(cli, debug, "packet", debug_packet, PRIVILEGE_PRIVILEGED, MODE_EXEC, "Debug packet processing"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:246:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 246 | cli_register_command(cli, debug, "all", debug_all, PRIVILEGE_PRIVILEGED, MODE_EXEC, "Debug all (beware!)"); | ^~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:249:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 249 | cli_register_command(cli, NULL, "interface", enter_interface, PRIVILEGE_PRIVILEGED, MODE_CONFIG, "Enter interface configuration mode"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:251:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 251 | cli_register_command(cli, ip_int, "address", conf_ip_address, PRIVILEGE_PRIVILEGED, MZ_MODE_INTERFACE, "Configure interface IP address"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:253:50: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 253 | cli_register_command(cli, mac_int, "address", conf_mac_address, PRIVILEGE_PRIVILEGED, MZ_MODE_INTERFACE, "Configure interface MAC address"); | ^~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:255:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 255 | cli_register_command(cli, tag, "dot1q", conf_tag_dot1q, PRIVILEGE_PRIVILEGED, MZ_MODE_INTERFACE, "Configure 802.1Q and 802.1P parameters"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:256:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 256 | cli_register_command(cli, tag, "mpls", conf_tag_mpls, PRIVILEGE_PRIVILEGED, MZ_MODE_INTERFACE, "Configure mpls label stack"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:260:46: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 260 | cli_register_command(cli, frame, "limit", conf_frame_limit, PRIVILEGE_PRIVILEGED, MODE_CONFIG, "Configure frame size limits"); | ^~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:261:48: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 261 | cli_register_command(cli, NULL, "sequence", conf_sequence, PRIVILEGE_PRIVILEGED, MODE_CONFIG, "Configure a sequence of packets"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:264:46: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 264 | cli_register_command(cli, NULL, "packet", enter_packet, PRIVILEGE_PRIVILEGED, MODE_CONFIG, "Enter packet configuration mode"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:265:45: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 265 | cli_register_command(cli, NULL, "clone", cmd_packet_clone, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Clone from another packet"); | ^~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:266:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 266 | cli_register_command(cli, NULL, "name", cmd_packet_name, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Assign a unique name"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:267:51: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 267 | cli_register_command(cli, NULL, "description", cmd_packet_description, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Assign a packet description text"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:268:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 268 | cli_register_command(cli, NULL, "bind", cmd_packet_bind, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Select the network interface"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:269:45: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 269 | cli_register_command(cli, NULL, "count", cmd_packet_count, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the packet count value"); | ^~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:270:45: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 270 | cli_register_command(cli, NULL, "delay", cmd_packet_delay, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the inter-packet delay"); | ^~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:271:48: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 271 | cli_register_command(cli, NULL, "interval", cmd_packet_interval, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure a greater interval"); | ^~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:272:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 272 | cli_register_command(cli, NULL, "type", cmd_packet_type, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Specify packet type"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:275:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 275 | cli_register_command(cli, address, "source", cmd_packet_mac_address_source, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure packet's source MAC addresses"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:276:54: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 276 | cli_register_command(cli, address, "destination", cmd_packet_mac_address_destination, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure packet's destination MAC addresses"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:278:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 278 | cli_register_command(cli, tag, "dot1q", cmd_packet_dot1q, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure 802.1Q (and 802.1P) parameters"); | ^~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:279:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 279 | cli_register_command(cli, tag, "mpls", cmd_packet_mpls, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure MPLS label stack"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:281:42: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 281 | cli_register_command(cli, pld, "hex", cmd_packet_payload_hex, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure a payload in hexadecimal format"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:282:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 282 | cli_register_command(cli, pld, "ascii", cmd_packet_payload_ascii, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure a payload in ascii format"); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:283:42: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 283 | cli_register_command(cli, pld, "raw", cmd_packet_payload_raw, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure a raw payload (whole file as it is)"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:285:46: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 285 | cli_register_command(cli, port, "source", cmd_port_source, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure packet's source port number"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:286:51: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 286 | cli_register_command(cli, port, "destination", cmd_port_destination, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure packet's destination port number"); | ^~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:287:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 287 | cli_register_command(cli, NULL, "end", cmd_packet_end, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "End packet configuration mode"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:292:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 292 | cli_register_command(cli, macaddr, "source", cmd_packet_mac_address_source, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure frame's source MAC addresses"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:293:54: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 293 | cli_register_command(cli, macaddr, "destination", cmd_packet_mac_address_destination, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure frame's destination MAC addresses"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:294:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 294 | cli_register_command(cli, eth_frame, "type", cmd_eth_type, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure Ethernet's type field"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:295:51: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 295 | cli_register_command(cli, eth_frame, "length", cmd_eth_length, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure IEEE 802.3 length field"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:296:48: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 296 | cli_register_command(cli, eth_frame, "llc", cmd_eth_llc, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the IEEE 802.2 field"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:297:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 297 | cli_register_command(cli, eth_frame, "snap", cmd_eth_snap, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the IEEE 802.2 field"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:302:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 302 | cli_register_command(cli, address, "source", cmd_ip_address_source, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure packet's source IP address"); | ^~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:303:54: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 303 | cli_register_command(cli, address, "destination", cmd_ip_address_destination, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure packet's destination IP address"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:304:52: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 304 | cli_register_command(cli, ip_packet, "version", cmd_ip_version, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure version field in IPv4 header"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:305:48: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 305 | cli_register_command(cli, ip_packet, "ttl", cmd_ip_ttl, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure TTL field in IPv4 header"); | ^~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:306:53: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 306 | cli_register_command(cli, ip_packet, "protocol", cmd_ip_protocol, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure protocol field in IPv4 header"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:307:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 307 | cli_register_command(cli, ip_packet, "hlen", cmd_ip_hlen, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure header-length (aka IHL) field in IPv4 header"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:308:51: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 308 | cli_register_command(cli, ip_packet, "length", cmd_ip_len, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure length field in IPv4 header"); | ^~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:309:59: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 309 | cli_register_command(cli, ip_packet, "identification", cmd_ip_id, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure identification field in IPv4 header"); | ^~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:310:51: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 310 | cli_register_command(cli, ip_packet, "offset", cmd_ip_offset, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure fragment offset field in IPv4 header"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:311:53: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 311 | cli_register_command(cli, ip_packet, "checksum", cmd_ip_sum, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure checksum field in IPv4 header"); | ^~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:312:48: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 312 | cli_register_command(cli, ip_packet, "tos", cmd_ip_tos, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure type-of-service (ToS) field in IPv4 header"); | ^~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:313:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 313 | cli_register_command(cli, ip_packet, "dscp", cmd_ip_dscp, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the ToS as DSCP field in IPv4 header"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:314:53: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 314 | cli_register_command(cli, ip_packet, "reserved", cmd_ip_rsv, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the reserved flag in IPv4 header"); | ^~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:315:58: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 315 | cli_register_command(cli, ip_packet, "dont-fragment", cmd_ip_df, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the don't fragment flag in IPv4 header"); | ^~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:316:59: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 316 | cli_register_command(cli, ip_packet, "more-fragments", cmd_ip_mf, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the more fragments flag in IPv4 header"); | ^~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:317:58: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 317 | cli_register_command(cli, ip_packet, "fragment-size", cmd_ip_fragsize, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the fragment size to enable fragmentation"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:318:61: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 318 | cli_register_command(cli, ip_packet, "fragment-overlap", cmd_ip_fragoverlap, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure a fragmentation overlap"); | ^~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:319:51: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 319 | cli_register_command(cli, ip_packet, "option", cmd_ip_option, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure IPv4 options"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:320:58: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 320 | cli_register_command(cli, ip_packet, "auto-delivery", cmd_ip_delivery, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Enable or disable IP auto-delivery"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:322:47: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 322 | cli_register_command(cli, NULL, "version", cmd_ip_version, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Specify the IP version (default: 4)"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:323:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 323 | cli_register_command(cli, NULL, "ttl", cmd_ip_ttl, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Specify the TTL (default: 255)"); | ^~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:324:54: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 324 | cli_register_command(cli, NULL, "source-address", cmd_ip_address_source, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Specify the source IP address"); | ^~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:325:59: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 325 | cli_register_command(cli, NULL, "destination-address", cmd_ip_address_destination, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Specify the destination IP address"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:326:48: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 326 | cli_register_command(cli, NULL, "protocol", cmd_ip_protocol, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Specify the IP protocol"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:327:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 327 | cli_register_command(cli, NULL, "hlen", cmd_ip_hlen, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Specify the IP header length"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:328:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 328 | cli_register_command(cli, NULL, "len", cmd_ip_len, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Specify the IP packet length"); | ^~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:329:54: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 329 | cli_register_command(cli, NULL, "identification", cmd_ip_id, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Specify the IP identification"); | ^~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:330:46: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 330 | cli_register_command(cli, NULL, "offset", cmd_ip_offset, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Specify the fragment offset"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:331:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 331 | cli_register_command(cli, NULL, "sum", cmd_ip_sum, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Specify the IP header checksum"); | ^~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:332:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 332 | cli_register_command(cli, NULL, "tos", cmd_ip_tos, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Specify the Type of Service"); | ^~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:333:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 333 | cli_register_command(cli, NULL, "dscp", cmd_ip_dscp, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Specify the DSCP"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:334:48: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 334 | cli_register_command(cli, NULL, "reserved", cmd_ip_rsv, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Set or unset the reserved bit"); | ^~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:335:42: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 335 | cli_register_command(cli, NULL, "df", cmd_ip_df, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Set or unset the Don't Fragment (DF) bit"); | ^~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:336:42: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 336 | cli_register_command(cli, NULL, "mf", cmd_ip_mf, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Set or unset the More Fragments (MF) bit"); | ^~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:337:53: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 337 | cli_register_command(cli, NULL, "fragment-size", cmd_ip_fragsize, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Configure the fragment size to enable fragmentation"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:338:56: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 338 | cli_register_command(cli, NULL, "fragment-overlap", cmd_ip_fragoverlap, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Configure a fragmentation overlap"); | ^~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:339:46: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 339 | cli_register_command(cli, NULL, "option", cmd_ip_option, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Configure an IP option"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:340:53: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 340 | cli_register_command(cli, NULL, "auto-delivery", cmd_ip_delivery, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "Enable or disable IP auto-delivery"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:341:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 341 | cli_register_command(cli, NULL, "end", cmd_ip_end, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IP, "End IP configuration mode"); | ^~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:345:54: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 345 | cli_register_command(cli, udp_packet, "checksum", cmd_udp_sum, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the UDP checksum"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:346:52: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 346 | cli_register_command(cli, udp_packet, "length", cmd_udp_len, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the UDP length field"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:348:48: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 348 | cli_register_command(cli, NULL, "checksum", cmd_udp_sum, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_UDP, "Configure the UDP checksum"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:349:46: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 349 | cli_register_command(cli, NULL, "length", cmd_udp_len, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_UDP, "Configure the UDP length field"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:350:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 350 | cli_register_command(cli, NULL, "end", cmd_udp_end, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_UDP, "End UDP configuration mode"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:354:51: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 354 | cli_register_command(cli, tcp_packet, "seqnr", cmd_tcp_seqnr, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the TCP sequence number"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:355:51: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 355 | cli_register_command(cli, tcp_packet, "acknr", cmd_tcp_acknr, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the TCP acknowledgement number"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:356:50: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 356 | cli_register_command(cli, tcp_packet, "hlen", cmd_tcp_offset, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the TCP header length"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:357:54: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 357 | cli_register_command(cli, tcp_packet, "reserved", cmd_tcp_res, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the TCP reserved field"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:358:51: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 358 | cli_register_command(cli, tcp_packet, "flags", cmd_tcp_flags, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure a combination of TCP flags at once"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:359:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 359 | cli_register_command(cli, tcp_packet, "cwr", cmd_tcp_cwr, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Set or unset the TCP CWR flag"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:360:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 360 | cli_register_command(cli, tcp_packet, "ece", cmd_tcp_ece, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Set or unset the TCP ECE flag"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:361:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 361 | cli_register_command(cli, tcp_packet, "urg", cmd_tcp_urg, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Set or unset the TCP URG flag"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:362:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 362 | cli_register_command(cli, tcp_packet, "ack", cmd_tcp_ack, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "set or unset the TCP ACK flag"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:363:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 363 | cli_register_command(cli, tcp_packet, "psh", cmd_tcp_psh, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "set or unset the TCP PSH flag"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:364:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 364 | cli_register_command(cli, tcp_packet, "rst", cmd_tcp_rst, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "set or unset the TCP RST flag"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:365:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 365 | cli_register_command(cli, tcp_packet, "syn", cmd_tcp_syn, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "set or unset the TCP SYN flag"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:366:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 366 | cli_register_command(cli, tcp_packet, "fin", cmd_tcp_fin, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "set or unset the TCP FIN flag"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:367:52: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 367 | cli_register_command(cli, tcp_packet, "window", cmd_tcp_window, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the TCP window size"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:368:54: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 368 | cli_register_command(cli, tcp_packet, "checksum", cmd_tcp_sum, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the TCP checksum"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:369:60: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 369 | cli_register_command(cli, tcp_packet, "urgent-pointer", cmd_tcp_urgptr, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure the TCP urgend pointer"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:370:53: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 370 | cli_register_command(cli, tcp_packet, "options", cmd_tcp_options, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET, "Configure TCP options"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:372:45: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 372 | cli_register_command(cli, NULL, "seqnr", cmd_tcp_seqnr, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "Configure the TCP sequence number"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:373:45: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 373 | cli_register_command(cli, NULL, "acknr", cmd_tcp_acknr, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "Configure the TCP acknowledgement number"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:374:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 374 | cli_register_command(cli, NULL, "hlen", cmd_tcp_offset, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "Configure the TCP header length"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:375:48: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 375 | cli_register_command(cli, NULL, "reserved", cmd_tcp_res, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "Configure the TCP reserved field"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:376:45: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 376 | cli_register_command(cli, NULL, "flags", cmd_tcp_flags, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "Configure a combination of TCP flags at once"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:377:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 377 | cli_register_command(cli, NULL, "cwr", cmd_tcp_cwr, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "Set or unset the TCP CWR flag"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:378:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 378 | cli_register_command(cli, NULL, "ece", cmd_tcp_ece, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "Set or unset the TCP ECE flag"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:379:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 379 | cli_register_command(cli, NULL, "urg", cmd_tcp_urg, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "Set or unset the TCP URG flag"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:380:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 380 | cli_register_command(cli, NULL, "ack", cmd_tcp_ack, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "set or unset the TCP ACK flag"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:381:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 381 | cli_register_command(cli, NULL, "psh", cmd_tcp_psh, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "set or unset the TCP PSH flag"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:382:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 382 | cli_register_command(cli, NULL, "rst", cmd_tcp_rst, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "set or unset the TCP RST flag"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:383:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 383 | cli_register_command(cli, NULL, "syn", cmd_tcp_syn, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "set or unset the TCP SYN flag"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:384:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 384 | cli_register_command(cli, NULL, "fin", cmd_tcp_fin, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "set or unset the TCP FIN flag"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:385:46: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 385 | cli_register_command(cli, NULL, "window", cmd_tcp_window, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "Configure the TCP window size"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:386:48: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 386 | cli_register_command(cli, NULL, "checksum", cmd_tcp_sum, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "Configure the TCP checksum"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:387:54: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 387 | cli_register_command(cli, NULL, "urgent-pointer", cmd_tcp_urgptr, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "Configure the TCP urgend pointer"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:388:47: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 388 | cli_register_command(cli, NULL, "options", cmd_tcp_options, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "Configure TCP options"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:389:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 389 | cli_register_command(cli, NULL, "end", cmd_tcp_end, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_TCP, "End TCP configuration mode"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:392:53: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 392 | cli_register_command(cli, NULL, "hardware-type", cmd_arp_hwtype, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_ARP, "Specify the hardware type"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:393:53: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 393 | cli_register_command(cli, NULL, "protocol-type", cmd_arp_prtype, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_ARP, "Specify the protocol type"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:394:52: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 394 | cli_register_command(cli, NULL, "hw-addr-size", cmd_arp_hwaddrsize, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_ARP, "Specify the hardware address size"); | ^~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:395:52: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 395 | cli_register_command(cli, NULL, "pr-addr-size", cmd_arp_praddrsize, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_ARP, "Specify the protocol address size"); | ^~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:396:46: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 396 | cli_register_command(cli, NULL, "opcode", cmd_arp_opcode, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_ARP, "Specify the ARP opcode"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:397:50: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 397 | cli_register_command(cli, NULL, "sender-mac", cmd_arp_smac, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_ARP, "Specify the sender MAC address"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:398:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 398 | cli_register_command(cli, NULL, "sender-ip", cmd_arp_sip, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_ARP, "Specify the sender IP address"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:399:50: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 399 | cli_register_command(cli, NULL, "target-mac", cmd_arp_tmac, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_ARP, "Specify the target MAC address"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:400:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 400 | cli_register_command(cli, NULL, "target-ip", cmd_arp_tip, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_ARP, "Specify the target IP address"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:401:47: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 401 | cli_register_command(cli, NULL, "trailer", cmd_arp_trailer, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_ARP, "Specify the trailer length"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:402:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 402 | cli_register_command(cli, NULL, "end", cmd_arp_end, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_ARP, "End ARP configuration mode"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:405:42: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 405 | cli_register_command(cli, NULL, "id", cmd_bpdu_id, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_BPDU, "Specify the BPDU identifier"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:406:47: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 406 | cli_register_command(cli, NULL, "version", cmd_bpdu_version, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_BPDU, "Specify the BPDU version"); | ^~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:407:48: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 407 | cli_register_command(cli, NULL, "bpdutype", cmd_bpdu_type, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_BPDU, "Specify the BPDU type"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:408:45: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 408 | cli_register_command(cli, NULL, "flags", cmd_bpdu_flags, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_BPDU, "Specify the BPDU flags"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:409:47: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 409 | cli_register_command(cli, NULL, "root-id", cmd_bpdu_rid, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_BPDU, "Specify the BPDU root identifier"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:410:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 410 | cli_register_command(cli, NULL, "path-cost", cmd_bpdu_pc, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_BPDU, "Specify the BPDU root path cost"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:411:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 411 | cli_register_command(cli, NULL, "bridge-id", cmd_bpdu_bid, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_BPDU, "Specify the BPDU bridge identifier"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:412:47: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 412 | cli_register_command(cli, NULL, "port-id", cmd_bpdu_pid, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_BPDU, "Specify the BPDU port identifier"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:413:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 413 | cli_register_command(cli, NULL, "age", cmd_bpdu_age, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_BPDU, "Specify the BPDU age"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:414:46: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 414 | cli_register_command(cli, NULL, "maxage", cmd_bpdu_maxage, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_BPDU, "Specify the BPDU maxage"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:415:54: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 415 | cli_register_command(cli, NULL, "hello-interval", cmd_bpdu_hello, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_BPDU, "Specify the BPDU hello interval"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:416:53: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 416 | cli_register_command(cli, NULL, "forward-delay", cmd_bpdu_fwd, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_BPDU, "Specify the BPDU forward delay"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:417:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 417 | cli_register_command(cli, NULL, "mode", cmd_bpdu_mode, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_BPDU, "Specify the BPDU mode"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:418:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 418 | cli_register_command(cli, NULL, "vlan", cmd_bpdu_vlan, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_BPDU, "Specify the vlan for PVST+"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:419:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 419 | cli_register_command(cli, NULL, "end", cmd_bpdu_end, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_BPDU, "End BPDU configuration mode"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:422:57: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 422 | cli_register_command(cli, NULL, "v2-general-query", cmd_igmpv2_genquery, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IGMP, "Create an IGMPv2 general query"); | ^~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:423:63: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 423 | cli_register_command(cli, NULL, "v2-group-specific-query", cmd_igmpv2_specquery, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IGMP, "Create an IGMPv2 group-specific query"); | ^~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:424:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 424 | cli_register_command(cli, NULL, "v2-report", cmd_igmpv2_report, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IGMP, "Create an IGMPv2 membership report"); | ^~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:425:48: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 425 | cli_register_command(cli, NULL, "v2-leave", cmd_igmpv2_leave, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IGMP, "Create an IGMPv2 leave group message"); | ^~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:426:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 426 | cli_register_command(cli, NULL, "v1-query", cmd_igmpv1_query, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IGMP, "Create an IGMPv1 query"); | ^~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:427:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 427 | cli_register_command(cli, NULL, "v1-report", cmd_igmpv1_report, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IGMP, "Create an IGMPv1 membership report"); | ^~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:428:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 428 | cli_register_command(cli, NULL, "end", cmd_ip_end, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_IGMP, "End IGMP configuration mode"); // we reuse cmd_ip_end here! | ^~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:430:51: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 430 | cli_register_command(cli, NULL, "conformance", cmd_lldp_conformance, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_LLDP, "Enable or disable LLDP standard conformance"); | ^~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:431:50: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 431 | cli_register_command(cli, NULL, "chassis-id", cmd_lldp_chassis_id, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_LLDP, "Configure the LLDP Chassis-ID"); | ^~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:432:47: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 432 | cli_register_command(cli, NULL, "port-id", cmd_lldp_port_id, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_LLDP, "Configure the LLDP Port-ID"); | ^~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:433:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 433 | cli_register_command(cli, NULL, "ttl", cmd_lldp_ttl, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_LLDP, "Configure the LLDP Time-to-Live"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:434:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 434 | cli_register_command(cli, NULL, "vlan", cmd_lldp_vlan, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_LLDP, "Configure the LLDP Port VLAN-ID"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:435:51: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 435 | cli_register_command(cli, NULL, "generic-tlv", cmd_lldp_opt_tlv, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_LLDP, "Configure a generic LLDP TLV"); | ^~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:436:47: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 436 | cli_register_command(cli, NULL, "bad-tlv", cmd_lldp_opt_tlv_bad, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_LLDP, "Configure a bad TLV for testing purposes"); | ^~~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:437:58: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 437 | cli_register_command(cli, NULL, "organisational-tlv", cmd_lldp_opt_org, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_LLDP, "Configure an organisational LLDP TLV"); | ^~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:438:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 438 | cli_register_command(cli, NULL, "early-end", cmd_lldp_endtlv, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_LLDP, "Insert an 'early' End-of-LLDPU TLV"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:439:45: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 439 | cli_register_command(cli, NULL, "reset", cmd_lldp_reset, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_LLDP, "Reset the LLDPU to defaults and clear all optional TLVs"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:440:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 440 | cli_register_command(cli, NULL, "end", cmd_ip_end, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_LLDP, "End IGMP configuration mode"); // we reuse cmd_ip_end here! | ^~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:443:47: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 443 | cli_register_command(cli, NULL, "version", cmd_rtp_version, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_RTP, "Specify the RTP version (default: 2)"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:444:47: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 444 | cli_register_command(cli, NULL, "padding", cmd_rtp_padding, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_RTP, "Set or unset the padding flag (default: 0)"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:445:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 445 | cli_register_command(cli, NULL, "xten", cmd_rtp_xten, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_RTP, "Set or unset the eXtension flag (default: 0)"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:446:46: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 446 | cli_register_command(cli, NULL, "marker", cmd_rtp_marker, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_RTP, "Set or unset the marker flag (default: 0)"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:447:50: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 447 | cli_register_command(cli, NULL, "csrc-count", cmd_rtp_cc, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_RTP, "Configure the CSRC count (default: 0)"); | ^~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:448:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 448 | cli_register_command(cli, NULL, "csrc-list", cmd_rtp_cclist, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_RTP, "Configure the CSRC list (default: none)"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:449:52: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 449 | cli_register_command(cli, NULL, "payload-type", cmd_rtp_pt, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_RTP, "Configure the payload type (default: G.711, A-law, 20 msec)"); | ^~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:450:55: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 450 | cli_register_command(cli, NULL, "sequence-number", cmd_rtp_sqnr, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_RTP, "Configure the sequence number"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:451:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 451 | cli_register_command(cli, NULL, "timestamp", cmd_rtp_time, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_RTP, "Configure the timestamp"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:452:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 452 | cli_register_command(cli, NULL, "ssrc", cmd_rtp_ssrc, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_RTP, "Configure the SSRC (source identifier)"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:453:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 453 | cli_register_command(cli, NULL, "extension", cmd_rtp_extension, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_RTP, "Configure an extension header"); | ^~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:454:46: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 454 | cli_register_command(cli, NULL, "source", cmd_rtp_source, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_RTP, "Specify a media source"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:455:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 455 | cli_register_command(cli, NULL, "end", cmd_ip_end, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_RTP, "End RTP configuration mode"); // we reuse cmd_ip_end here! | ^~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:458:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 458 | cli_register_command(cli, NULL, "ttl", cmd_dns_ttl, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_DNS, "Specify the TTL (default: 0)"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:459:45: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 459 | cli_register_command(cli, NULL, "query", cmd_dns_query, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_DNS, "Specify the query"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:460:46: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 460 | cli_register_command(cli, NULL, "answer", cmd_dns_answer, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_DNS, "Specify the answer"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:461:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 461 | cli_register_command(cli, NULL, "end", cmd_dns_end, PRIVILEGE_PRIVILEGED, MZ_MODE_PACKET_DNS, "End DNS configuration mode"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:465:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 465 | cli_register_command(cli, NULL, "add", sequence_add, PRIVILEGE_PRIVILEGED, MZ_MODE_SEQUENCE, "Add another packet to the current sequence"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:466:45: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 466 | cli_register_command(cli, NULL, "delay", sequence_delay, PRIVILEGE_PRIVILEGED, MZ_MODE_SEQUENCE, "Add a delay to the current sequence"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:467:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 467 | cli_register_command(cli, NULL, "show", sequence_show, PRIVILEGE_PRIVILEGED, MZ_MODE_SEQUENCE, "Show current sequence list"); | ^~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:468:46: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 468 | cli_register_command(cli, NULL, "remove", sequence_remove, PRIVILEGE_PRIVILEGED, MZ_MODE_SEQUENCE, "Remove a packet or delay from the current sequence"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:469:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 469 | cli_register_command(cli, NULL, "end", cmd_end_to_config, PRIVILEGE_PRIVILEGED, MZ_MODE_SEQUENCE, "End sequence configuration mode"); | ^~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:474:49: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 474 | cli_register_command(cli, NULL, "terminate", stop_mausezahn, PRIVILEGE_PRIVILEGED, MODE_EXEC, "Terminate the Mausezahn server"); | ^~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:476:41: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 476 | cli_register_command(cli, run, "id", cmd_run_id, PRIVILEGE_PRIVILEGED, MODE_EXEC, "Run mops packet(s) by specifying packet identifiers"); | ^~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:477:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 477 | cli_register_command(cli, run, "name", cmd_run_name, PRIVILEGE_PRIVILEGED, MODE_EXEC, "Run mops packet(s) by specifying packet names"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:478:47: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 478 | cli_register_command(cli, run, "sequence", cmd_run_sequence, PRIVILEGE_PRIVILEGED, MODE_EXEC, "Run a packet sequence"); | ^~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:479:42: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 479 | cli_register_command(cli, run, "all", cmd_run_all, PRIVILEGE_PRIVILEGED, MODE_EXEC, "Run all currently configured mops packet(s)"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:480:42: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 480 | cli_register_command(cli, NULL, "tx", transmit, PRIVILEGE_PRIVILEGED, MODE_EXEC, "Send inline configured packet (legacy mode; not recommended)"); | ^~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:481:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 481 | cli_register_command(cli, NULL, "stop", cmd_stop, PRIVILEGE_PRIVILEGED, MODE_EXEC, "Stop transmission"); | ^~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:482:48: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 482 | cli_register_command(cli, NULL, "warranty", warranty, PRIVILEGE_UNPRIVILEGED, MODE_EXEC, "Show license and warranty details"); | ^~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:483:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 483 | cli_register_command(cli, NULL, "load", cmd_load, PRIVILEGE_PRIVILEGED, MODE_EXEC, "Load commands from a file"); | ^~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:486:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 486 | cli_register_command(cli, NULL, "set", cmd_set, PRIVILEGE_PRIVILEGED, MODE_EXEC, "Set global Mausezahn parameters"); | ^~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:490:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 490 | cli_register_command(cli, clear, "all", clear_all, PRIVILEGE_PRIVILEGED, MODE_EXEC, "Re-initialize Mausezahn"); | ^~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:491:47: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 491 | cli_register_command(cli, clear, "packet", clear_packet, PRIVILEGE_PRIVILEGED, MODE_EXEC, "Delete a packet (i. e. MOPS entry)"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:495:46: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 495 | cli_register_command(cli, show, "packet", show_packets, PRIVILEGE_UNPRIVILEGED, MODE_EXEC, "Show defined packets"); | ^~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:497:50: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 497 | cli_register_command(cli, show, "interfaces", show_interfaces, PRIVILEGE_UNPRIVILEGED, MODE_EXEC, "Show detailed interface information"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:498:44: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 498 | cli_register_command(cli, show, "mops", show_mops, PRIVILEGE_UNPRIVILEGED, MODE_EXEC, "Show MOPS details"); | ^~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:500:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 500 | cli_register_command(cli, show, "set", show_set, PRIVILEGE_UNPRIVILEGED, MODE_EXEC, "List general packet parameters"); | ^~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:501:43: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 501 | cli_register_command(cli, show, "arp", show_arp, PRIVILEGE_UNPRIVILEGED, MODE_EXEC, "Show the advanced Mausezahn ARP table"); | ^~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:504:47: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 504 | cli_register_command(cli, show, "license", warranty, PRIVILEGE_UNPRIVILEGED, MODE_EXEC, "Show license and warranty details"); | ^~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:508:51: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 508 | cli_register_command(cli, reset, "interface", cmd_reset_interface, PRIVILEGE_PRIVILEGED, MODE_EXEC, "Reset interfaces"); | ^~~~~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:509:48: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 509 | cli_register_command(cli, reset, "packet", cmd_reset_packet, PRIVILEGE_PRIVILEGED, MODE_EXEC, "Reset interfaces"); | ^~~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:512:47: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 512 | cli_register_command(cli, launch, "bpdu", launch_bpdu, PRIVILEGE_PRIVILEGED, MODE_EXEC, "Launch a(nother) BPDU process"); | ^~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli.c:513:51: warning: passing argument 4 of ‘cli_register_command’ from incompatible pointer type [-Wincompatible-pointer-types] 513 | cli_register_command(cli, launch, "synflood", launch_synflood, PRIVILEGE_PRIVILEGED, MODE_EXEC, "Launch a(nother) SYN-Flood process"); | ^~~~~~~~~~~~~~~ | | | int (*)(struct cli_def *, char *, char **, int) In file included from /build/mz-0EBz5r/mz-0.40/src/cli.h:24, from /build/mz-0EBz5r/mz-0.40/src/cli.c:22: /usr/include/libcli.h:189:21: note: expected ‘int (*)(struct cli_def *, const char *, char **, int)’ but argument is of type ‘int (*)(struct cli_def *, char *, char **, int)’ 189 | struct cli_command *cli_register_command(struct cli_def *cli, struct cli_command *parent, const char *command, | ^~~~~~~~~~~~~~~~~~~~ [ 33%] Building C object src/CMakeFiles/mz.dir/cli_cmds.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_cmds.o -c /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c: In function ‘show_packets’: /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:308:5: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=] 308 | strncat(ps, "-i", 2); | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:312:5: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=] 312 | strncat(ps, "+I", 2); | ^~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:403:76: warning: ‘%s’ directive writing up to 149 bytes into a region of size between 0 and 101 [-Wformat-overflow=] 403 | sprintf(line, "State: %s, Count=%lu, delay=%s (%lu s %lu nsec), interval= %s\r", | ^~ ...... 409 | line2); | ~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:403:2: note: ‘sprintf’ output between 51 and 351 bytes into a destination of size 150 403 | sprintf(line, "State: %s, Count=%lu, delay=%s (%lu s %lu nsec), interval= %s\r", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 404 | mystate, | ~~~~~~~~ 405 | mp->count, | ~~~~~~~~~~ 406 | delay_str, | ~~~~~~~~~~ 407 | mp->ndelay.tv_sec, | ~~~~~~~~~~~~~~~~~~ 408 | mp->ndelay.tv_nsec, | ~~~~~~~~~~~~~~~~~~~ 409 | line2); | ~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:509:43: warning: ‘%s’ directive writing up to 149 bytes into a region of size 137 [-Wformat-overflow=] 509 | sprintf(line, "SA=%u.%u.%u.%u %s %s %s", | ^~ ...... 513 | line2); | ~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:509:7: note: ‘sprintf’ output 14 or more bytes (assuming 163) into a destination of size 150 509 | sprintf(line, "SA=%u.%u.%u.%u %s %s %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 510 | (unsigned char) *(x0+3), (unsigned char) *(x0+2), (unsigned char) *(x0+1) , (unsigned char) *x0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 511 | (clipkt->ip_src_israndom) ? "RANDOM" : "(not random)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 512 | (clipkt->ip_src_isrange) ? "RANGE:" : "(no range)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 513 | line2); | ~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:528:40: warning: ‘%s’ directive writing up to 149 bytes into a region of size 138 [-Wformat-overflow=] 528 | sprintf(line, "DA=%u.%u.%u.%u %s %s", | ^~ ...... 531 | line2); | ~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:528:7: note: ‘sprintf’ output 13 or more bytes (assuming 162) into a destination of size 150 528 | sprintf(line, "DA=%u.%u.%u.%u %s %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 529 | (unsigned char) *(x0+3), (unsigned char) *(x0+2), (unsigned char) *(x0+1) , (unsigned char) *x0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 530 | (clipkt->ip_dst_isrange) ? "RANGE:" : "(no range)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 531 | line2); | ~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:570:28: warning: ‘%s’ directive writing up to 149 bytes into a region of size between 141 and 145 [-Wformat-overflow=] 570 | sprintf(line, "SP=%i %s %s, DP=%i %s %s\r", | ^~ 571 | clipkt->sp, 572 | line2, | ~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:570:7: note: ‘sprintf’ output 16 or more bytes (assuming 314) into a destination of size 150 570 | sprintf(line, "SP=%i %s %s, DP=%i %s %s\r", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 571 | clipkt->sp, | ~~~~~~~~~~~ 572 | line2, | ~~~~~~ 573 | (clipkt->sp_isrand) ? "RANDOM" : "(not random)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 574 | clipkt->dp, | ~~~~~~~~~~~ 575 | line3, | ~~~~~~ 576 | (clipkt->dp_isrand) ? "RANDOM" : "(not random)"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:596:28: warning: ‘%s’ directive writing up to 149 bytes into a region of size between 141 and 145 [-Wformat-overflow=] 596 | sprintf(line, "SP=%i %s %s, DP=%i %s %s\r", | ^~ 597 | clipkt->sp, 598 | line2, | ~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:596:7: note: ‘sprintf’ output 16 or more bytes (assuming 314) into a destination of size 150 596 | sprintf(line, "SP=%i %s %s, DP=%i %s %s\r", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 597 | clipkt->sp, | ~~~~~~~~~~~ 598 | line2, | ~~~~~~ 599 | (clipkt->sp_isrand) ? "RANDOM" : "(not random)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 600 | clipkt->dp, | ~~~~~~~~~~~ 601 | line3, | ~~~~~~ 602 | (clipkt->dp_isrand) ? "RANDOM" : "(not random)"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:613:36: warning: ‘%s’ directive writing up to 149 bytes into a region of size 143 [-Wformat-overflow=] 613 | sprintf(line, "Flags: %s, reserved field is %02x, urgent pointer= %u", | ^~ 614 | line2, | ~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:613:14: note: ‘sprintf’ output between 49 and 202 bytes into a destination of size 150 613 | sprintf(line, "Flags: %s, reserved field is %02x, urgent pointer= %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 614 | line2, | ~~~~~~ 615 | clipkt->tcp_res, | ~~~~~~~~~~~~~~~~ 616 | clipkt->tcp_urg); | ~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:335:62: warning: ‘%10s’ directive writing between 10 and 63 bytes into a region of size between 22 and 87 [-Wformat-overflow=] 335 | sprintf(line, "%5i %-16s %s %-8s %4i %-9s %-6s %10s%9lu/%lu (%i%%)\r", | ^~~~ ...... 343 | delay_str, // delay | ~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:335:7: note: ‘sprintf’ output between 91 and 249 bytes into a destination of size 150 335 | sprintf(line, "%5i %-16s %s %-8s %4i %-9s %-6s %10s%9lu/%lu (%i%%)\r", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 336 | mp->id, // ID | ~~~~~~~~~~~~~~~~~~~~~ 337 | name, // packet_name | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 338 | ds, // layers | ~~~~~~~~~~~~~~~~~~~~~~~~~ 339 | pr, // protocol | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 340 | mp->frame_s, // size | ~~~~~~~~~~~~~~~~~~~~~~~ 341 | ps, // state | ~~~~~~~~~~~~~~~~~~~~~~~~ 342 | mp->device, // device | ~~~~~~~~~~~~~~~~~~~~~~~~~ 343 | delay_str, // delay | ~~~~~~~~~~~~~~~~~~~~~~~~ 344 | mp->count, // Configured count value | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 345 | mp->cntx, // Current count | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 346 | (mp->count) ? (int) (100 * (mp->count - mp->cntx)/mp->count) : 0 ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c: In function ‘show_interfaces’: /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:696:67: warning: ‘%-15s’ directive writing between 15 and 19 bytes into a region of size between 13 and 49 [-Wformat-overflow=] 696 | sprintf(line, "%-10s %-15s %02x:%02x:%02x:%02x:%02x:%02x %-15s %02x:%02x:%02x:%02x:%02x:%02x", | ^~~~~ ...... 704 | ip, | ~~ /build/mz-0EBz5r/mz-0.40/src/cli_cmds.c:696:4: note: ‘sprintf’ output between 86 and 126 bytes into a destination of size 100 696 | sprintf(line, "%-10s %-15s %02x:%02x:%02x:%02x:%02x:%02x %-15s %02x:%02x:%02x:%02x:%02x:%02x", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 697 | device_list[i].dev, device_list[i].ip_str, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 698 | device_list[i].mac[0], | ~~~~~~~~~~~~~~~~~~~~~~ 699 | device_list[i].mac[1], | ~~~~~~~~~~~~~~~~~~~~~~ 700 | device_list[i].mac[2], | ~~~~~~~~~~~~~~~~~~~~~~ 701 | device_list[i].mac[3], | ~~~~~~~~~~~~~~~~~~~~~~ 702 | device_list[i].mac[4], | ~~~~~~~~~~~~~~~~~~~~~~ 703 | device_list[i].mac[5], | ~~~~~~~~~~~~~~~~~~~~~~ 704 | ip, | ~~~ 705 | device_list[i].mac_mops[0], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 706 | device_list[i].mac_mops[1], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 707 | device_list[i].mac_mops[2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 708 | device_list[i].mac_mops[3], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 709 | device_list[i].mac_mops[4], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 710 | device_list[i].mac_mops[5] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 711 | ); | ~ [ 35%] Building C object src/CMakeFiles/mz.dir/cli_launch.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_launch.o -c /build/mz-0EBz5r/mz-0.40/src/cli_launch.c /build/mz-0EBz5r/mz-0.40/src/cli_launch.c: In function ‘launch_synflood’: /build/mz-0EBz5r/mz-0.40/src/cli_launch.c:80:6: warning: variable ‘valid_ip’ set but not used [-Wunused-but-set-variable] 80 | int valid_ip=0, valid_port=0; | ^~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_launch.c: In function ‘launch_bpdu’: /build/mz-0EBz5r/mz-0.40/src/cli_launch.c:49:2: warning: ‘strncpy’ output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 49 | strncpy (clipkt->packet_name, "sysBPDU", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/mz-0EBz5r/mz-0.40/src/cli_launch.c: In function ‘launch_synflood’: /build/mz-0EBz5r/mz-0.40/src/cli_launch.c:114:2: warning: ‘strncpy’ output truncated before terminating nul copying 15 bytes from a string of the same length [-Wstringop-truncation] 114 | strncpy (clipkt->packet_name, "sysFlood_TCPSYN", 15); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 36%] Building C object src/CMakeFiles/mz.dir/cli_legacy.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_legacy.o -c /build/mz-0EBz5r/mz-0.40/src/cli_legacy.c [ 38%] Building C object src/CMakeFiles/mz.dir/cli_packet.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_packet.o -c /build/mz-0EBz5r/mz-0.40/src/cli_packet.c [ 40%] Building C object src/CMakeFiles/mz.dir/cli_interface.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_interface.o -c /build/mz-0EBz5r/mz-0.40/src/cli_interface.c /build/mz-0EBz5r/mz-0.40/src/cli_interface.c: In function ‘enter_interface’: /build/mz-0EBz5r/mz-0.40/src/cli_interface.c:47:25: warning: ‘%s’ directive writing up to 15 bytes into a region of size 7 [-Wformat-overflow=] 47 | sprintf(prompt, "if-%s", device_list[i].dev); | ^~ /build/mz-0EBz5r/mz-0.40/src/cli_interface.c:47:5: note: ‘sprintf’ output between 4 and 19 bytes into a destination of size 10 47 | sprintf(prompt, "if-%s", device_list[i].dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 41%] Building C object src/CMakeFiles/mz.dir/cli_set.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_set.o -c /build/mz-0EBz5r/mz-0.40/src/cli_set.c [ 43%] Building C object src/CMakeFiles/mz.dir/cli_dns.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_dns.o -c /build/mz-0EBz5r/mz-0.40/src/cli_dns.c [ 45%] Building C object src/CMakeFiles/mz.dir/cli_arp.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_arp.o -c /build/mz-0EBz5r/mz-0.40/src/cli_arp.c [ 46%] Building C object src/CMakeFiles/mz.dir/cli_bpdu.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_bpdu.o -c /build/mz-0EBz5r/mz-0.40/src/cli_bpdu.c [ 48%] Building C object src/CMakeFiles/mz.dir/cli_eth.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_eth.o -c /build/mz-0EBz5r/mz-0.40/src/cli_eth.c [ 50%] Building C object src/CMakeFiles/mz.dir/cli_ip.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_ip.o -c /build/mz-0EBz5r/mz-0.40/src/cli_ip.c [ 51%] Building C object src/CMakeFiles/mz.dir/cli_udp.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_udp.o -c /build/mz-0EBz5r/mz-0.40/src/cli_udp.c [ 53%] Building C object src/CMakeFiles/mz.dir/cli_tcp.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_tcp.o -c /build/mz-0EBz5r/mz-0.40/src/cli_tcp.c [ 55%] Building C object src/CMakeFiles/mz.dir/cli_rtp.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_rtp.o -c /build/mz-0EBz5r/mz-0.40/src/cli_rtp.c [ 56%] Building C object src/CMakeFiles/mz.dir/cli_tools.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_tools.o -c /build/mz-0EBz5r/mz-0.40/src/cli_tools.c [ 58%] Building C object src/CMakeFiles/mz.dir/tx_switch.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/tx_switch.o -c /build/mz-0EBz5r/mz-0.40/src/tx_switch.c /build/mz-0EBz5r/mz-0.40/src/tx_switch.c: In function ‘tx_switch’: /build/mz-0EBz5r/mz-0.40/src/tx_switch.c:29:26: warning: variable ‘t2’ set but not used [-Wunused-but-set-variable] 29 | libnet_ptag_t t2=0, t3=0, t4=0; // handles to layers | ^~ [ 60%] Building C object src/CMakeFiles/mz.dir/mops.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mops.o -c /build/mz-0EBz5r/mz-0.40/src/mops.c [ 61%] Building C object src/CMakeFiles/mz.dir/mops_update.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mops_update.o -c /build/mz-0EBz5r/mz-0.40/src/mops_update.c [ 63%] Building C object src/CMakeFiles/mz.dir/mops_tools.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mops_tools.o -c /build/mz-0EBz5r/mz-0.40/src/mops_tools.c [ 65%] Building C object src/CMakeFiles/mz.dir/mops_checksums.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mops_checksums.o -c /build/mz-0EBz5r/mz-0.40/src/mops_checksums.c [ 66%] Building C object src/CMakeFiles/mz.dir/mops_threads.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mops_threads.o -c /build/mz-0EBz5r/mz-0.40/src/mops_threads.c [ 68%] Building C object src/CMakeFiles/mz.dir/mops_dot1Q.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mops_dot1Q.o -c /build/mz-0EBz5r/mz-0.40/src/mops_dot1Q.c [ 70%] Building C object src/CMakeFiles/mz.dir/mops_mpls.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mops_mpls.o -c /build/mz-0EBz5r/mz-0.40/src/mops_mpls.c [ 71%] Building C object src/CMakeFiles/mz.dir/mops_ip.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mops_ip.o -c /build/mz-0EBz5r/mz-0.40/src/mops_ip.c [ 73%] Building C object src/CMakeFiles/mz.dir/mops_tcp.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mops_tcp.o -c /build/mz-0EBz5r/mz-0.40/src/mops_tcp.c [ 75%] Building C object src/CMakeFiles/mz.dir/mops_ext.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mops_ext.o -c /build/mz-0EBz5r/mz-0.40/src/mops_ext.c [ 76%] Building C object src/CMakeFiles/mz.dir/mops_ext_arp.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mops_ext_arp.o -c /build/mz-0EBz5r/mz-0.40/src/mops_ext_arp.c [ 78%] Building C object src/CMakeFiles/mz.dir/mops_ext_bpdu.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mops_ext_bpdu.o -c /build/mz-0EBz5r/mz-0.40/src/mops_ext_bpdu.c [ 80%] Building C object src/CMakeFiles/mz.dir/mops_ext_rtp.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mops_ext_rtp.o -c /build/mz-0EBz5r/mz-0.40/src/mops_ext_rtp.c [ 81%] Building C object src/CMakeFiles/mz.dir/parse_xml.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/parse_xml.o -c /build/mz-0EBz5r/mz-0.40/src/parse_xml.c [ 83%] Building C object src/CMakeFiles/mz.dir/automops.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/automops.o -c /build/mz-0EBz5r/mz-0.40/src/automops.c [ 85%] Building C object src/CMakeFiles/mz.dir/mopsrx_arp.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mopsrx_arp.o -c /build/mz-0EBz5r/mz-0.40/src/mopsrx_arp.c [ 86%] Building C object src/CMakeFiles/mz.dir/mops_ext_igmp.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mops_ext_igmp.o -c /build/mz-0EBz5r/mz-0.40/src/mops_ext_igmp.c [ 88%] Building C object src/CMakeFiles/mz.dir/mops_ext_lldp.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mops_ext_lldp.o -c /build/mz-0EBz5r/mz-0.40/src/mops_ext_lldp.c [ 90%] Building C object src/CMakeFiles/mz.dir/cli_igmp.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_igmp.o -c /build/mz-0EBz5r/mz-0.40/src/cli_igmp.c [ 91%] Building C object src/CMakeFiles/mz.dir/cli_lldp.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_lldp.o -c /build/mz-0EBz5r/mz-0.40/src/cli_lldp.c [ 93%] Building C object src/CMakeFiles/mz.dir/cli_sequence.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/cli_sequence.o -c /build/mz-0EBz5r/mz-0.40/src/cli_sequence.c [ 95%] Building C object src/CMakeFiles/mz.dir/mops_sequence.o cd /build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/mz-0EBz5r/mz-0.40/. -I/build/mz-0EBz5r/mz-0.40/.. -I/build/mz-0EBz5r/mz-0.40/obj-x86_64-linux-gnu -Wall -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu89 -o CMakeFiles/mz.dir/mops_sequence.o -c /build/mz-0EBz5r/mz-0.40/src/mops_sequence.c /build/mz-0EBz5r/mz-0.40/src/mops_sequence.c: In function ‘mops_dump_sequence’: /build/mz-0EBz5r/mz-0.40/src/mops_sequence.c:134:14: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=] 134 | if (i../mz_0.40-1.1+b2_amd64.changes dpkg-genchanges: warning: unknown information field 'Dm-Upload-Allowed' in input data in general section of control info file dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-source: warning: unknown information field 'Dm-Upload-Allowed' in input data in general section of control info file dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/mz-0EBz5r /tmp/mz-0.40-1.1+b2y_wnucbv I: cleaning package lists and apt cache... I: removing tempdir /tmp/mmdebstrap.pMuzmQ2U_f... I: success in 289.5171 seconds md5: mz-dbgsym_0.40-1.1+b2_amd64.deb: OK md5: mz_0.40-1.1+b2_amd64.deb: OK sha1: mz-dbgsym_0.40-1.1+b2_amd64.deb: OK sha1: mz_0.40-1.1+b2_amd64.deb: OK sha256: mz-dbgsym_0.40-1.1+b2_amd64.deb: OK sha256: mz_0.40-1.1+b2_amd64.deb: OK Checksums: OK