[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#926246: marked as done (unblock: kronosnet/1.8-1)



Your message dated Wed, 03 Apr 2019 05:14:00 +0000
with message-id <64bc7c2a-5686-1fac-889a-0382ad62358f@thykier.net>
and subject line Re: Bug#926246: unblock: kronosnet/1.8-1
has caused the Debian Bug report #926246,
regarding unblock: kronosnet/1.8-1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
926246: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926246
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package kronosnet

Dear Release Team,

The latest upstream release of kronosnet fixes a use-after-free and a
configuration error causing 100% CPU usage, both of which would be very
good to have in buster.  Besides this, there's a flow change required by
FreeBSD (which returns EINVAL if the destination address is filled in
while sending over connected sockets) and some minor logging, test and
documentation fixes.  Most of the latter does not affect the binary
packages, because the unit tests and the doxyxml tool is not shipped.
I'm the only user of this library (via corosync), so the change is also
very narrow-scoped.  Unfortunately, the debdiff is hard to read due to
the copyright year updates across the board.  Please consider digging
through it. :)  I'm ready to upload kronosnet_1.8-1 if you agree.

Thanks,
Feri.

diff -Nru kronosnet-1.7/autogen.sh kronosnet-1.8/autogen.sh
--- kronosnet-1.7/autogen.sh	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/autogen.sh	2019-03-27 04:52:38.000000000 +0100
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/build-aux/check.mk kronosnet-1.8/build-aux/check.mk
--- kronosnet-1.7/build-aux/check.mk	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/build-aux/check.mk	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/build-aux/git-version-gen kronosnet-1.8/build-aux/git-version-gen
--- kronosnet-1.7/build-aux/git-version-gen	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/build-aux/git-version-gen	2019-03-27 04:52:38.000000000 +0100
@@ -2,7 +2,7 @@
 # Print a version string.
 scriptversion=2018-08-31.20; # UTC
 
-# Copyright (C) 2012-2018 Red Hat, Inc.
+# Copyright (C) 2012-2019 Red Hat, Inc.
 # Copyright (C) 2007-2016 Free Software Foundation, Inc.
 #
 # This program is free software: you can redistribute it and/or modify
diff -Nru kronosnet-1.7/build-aux/release.mk kronosnet-1.8/build-aux/release.mk
--- kronosnet-1.7/build-aux/release.mk	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/build-aux/release.mk	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/ChangeLog kronosnet-1.8/ChangeLog
--- kronosnet-1.7/ChangeLog	2019-01-30 05:50:36.000000000 +0100
+++ kronosnet-1.8/ChangeLog	2019-03-27 04:55:05.000000000 +0100
@@ -1,3 +1,71 @@
+2019-03-27  Fabio M. Di Nitto  <fdinitto@redhat.com>
+
+	Merge pull request #199 from kronosnet/stable1-proposed
+	stable1-proposed
+
+2019-03-26  Fabio M. Di Nitto  <fdinitto@redhat.com>
+
+	[global] update copyright across the board
+
+2019-03-26  Christine Caulfield  <ccaulfie@redhat.com>
+
+	link: Check address families on a link always match
+	We can't create a link with a source address of a different
+	address family than the destination as all sends will fail.
+
+2019-03-26  Fabio M. Di Nitto  <fdinitto@redhat.com>
+
+	[transports] fix usage after free of transport info memory
+	spotted while implementing functional testing for rekey.
+
+	when configuring multiple hosts (3+) with 1 link sharing
+	the same listener, but NOT enabling the link, if the user
+	attempts to shutdown knet_h, the first call to knet_link_clear_config
+	will not recognize that the listener is still in use by another
+	link and will release all resources.
+	At the time of invoking clear_config on the second link, transport_clear_config
+	will access already freed memory, or alternatively, a call to
+	link_enable would cause a crash because the listener does no
+	longer exist.
+
+	[tests] test rpm should match currently installed version of libknet
+
+2019-03-12  Chrissie Caulfield  <ccaulfie@redhat.com>
+
+	manpages: Document enums (#206)
+	And also fix a bug in structure printing that caused it to print the wrong name for a struct.
+
+2019-03-11  Fabio M. Di Nitto  <fdinitto@redhat.com>
+
+	[tests] allow shipping of the test suite
+
+	[host] increase log level for currently used links
+	bug reported on IRC by yuanren
+
+	[transport] don´t specify destination address for connection oriented protocols
+	some implementations of sendto/sendmsg expects dst_addr / msg_name to be
+	empty for connection oriented protocols such as SCTP (spotted on FreeBSD).
+
+	Make sure to clear or not pass those information on connection oriented protocol.
+
+2019-03-10  Fabio M. Di Nitto  <fdinitto@redhat.com>
+
+	[man] fix man page build dependency for BSD Make
+
+	[tests] add ability to create ipv6 sockets
+
+	[man] fix libnozzle man page generation target
+
+	[tests] fix knet_bench help text
+
+2019-02-28  Christine Caulfield  <ccaulfie@redhat.com>
+
+	doxyxml: Don't crash if there's no doxygen stanza for a function
+
+2019-02-28  Fabio M. Di Nitto  <fdinitto@redhat.com>
+
+	[man] add test to make sure all generated man pages are being shipped / installed
+
 2019-01-30  kronosnet CI bot  <32407685+knet-ci-bot@users.noreply.github.com>
 
 	Merge pull request #183 from kronosnet/stable1-proposed
diff -Nru kronosnet-1.7/configure kronosnet-1.8/configure
--- kronosnet-1.7/configure	2019-01-30 05:50:32.000000000 +0100
+++ kronosnet-1.8/configure	2019-03-27 04:55:01.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for kronosnet 1.7.
+# Generated by GNU Autoconf 2.69 for kronosnet 1.8.
 #
 # Report bugs to <devel@lists.kronosnet.org>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='kronosnet'
 PACKAGE_TARNAME='kronosnet'
-PACKAGE_VERSION='1.7'
-PACKAGE_STRING='kronosnet 1.7'
+PACKAGE_VERSION='1.8'
+PACKAGE_STRING='kronosnet 1.8'
 PACKAGE_BUGREPORT='devel@lists.kronosnet.org'
 PACKAGE_URL=''
 
@@ -645,6 +645,7 @@
 INITDDIR
 INITDEFAULTDIR
 DEFAULT_CONFIG_DIR
+TESTDIR
 libqb_LIBS
 libqb_CFLAGS
 pam_misc_LIBS
@@ -685,6 +686,8 @@
 BUILD_KRONOSNETD_TRUE
 BUILD_POC_FALSE
 BUILD_POC_TRUE
+INSTALL_TESTS_FALSE
+INSTALL_TESTS_TRUE
 bzip2_LIBS
 bzip2_CFLAGS
 BUILD_COMPRESS_BZIP2_FALSE
@@ -861,12 +864,14 @@
 enable_compress_lzo2
 enable_compress_lzma
 enable_compress_bzip2
+enable_install_tests
 enable_poc
 enable_kronosnetd
 enable_runautogen
 enable_rpm_debuginfo
 enable_libnozzle
 enable_debug
+with_testdir
 with_initdefaultdir
 with_initddir
 with_systemddir
@@ -1453,7 +1458,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures kronosnet 1.7 to adapt to many kinds of systems.
+\`configure' configures kronosnet 1.8 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1523,7 +1528,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of kronosnet 1.7:";;
+     short | recursive ) echo "Configuration of kronosnet 1.8:";;
    esac
   cat <<\_ACEOF
 
@@ -1555,6 +1560,7 @@
   --disable-compress-lzma disable libknet lzma support
   --disable-compress-bzip2
                           disable libknet bzip2 support
+  --enable-install-tests  install tests
   --enable-poc            enable building poc code
   --enable-kronosnetd     Kronosnetd support
   --enable-runautogen     run autogen.sh
@@ -1573,6 +1579,8 @@
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
                           compiler's sysroot if not specified).
+  --with-testdir=DIR      path to /usr/lib../kronosnet/tests/ dir where to
+                          install the test suite
   --with-initdefaultdir=DIR
                           path to /etc/sysconfig or /etc/default dir
   --with-initddir=DIR     path to init script directory
@@ -1710,7 +1718,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-kronosnet configure 1.7
+kronosnet configure 1.8
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2263,7 +2271,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by kronosnet $as_me 1.7, which was
+It was created by kronosnet $as_me 1.8, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -4499,7 +4507,7 @@
 
 # Define the identity of the package.
  PACKAGE='kronosnet'
- VERSION='1.7'
+ VERSION='1.8'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -15031,6 +15039,22 @@
 
 
 
+# Check whether --enable-install-tests was given.
+if test "${enable_install_tests+set}" = set; then :
+  enableval=$enable_install_tests;
+else
+   enable_install_tests="no"
+fi
+
+ if test x$enable_install_tests = xyes; then
+  INSTALL_TESTS_TRUE=
+  INSTALL_TESTS_FALSE='#'
+else
+  INSTALL_TESTS_TRUE='#'
+  INSTALL_TESTS_FALSE=
+fi
+
+
 # Check whether --enable-poc was given.
 if test "${enable_poc+set}" = set; then :
   enableval=$enable_poc;
@@ -17858,6 +17882,15 @@
 
 
 
+# Check whether --with-testdir was given.
+if test "${with_testdir+set}" = set; then :
+  withval=$with_testdir;  TESTDIR="$withval"
+else
+   TESTDIR="$libdir/kronosnet/tests"
+fi
+
+
+
 # Check whether --with-initdefaultdir was given.
 if test "${with_initdefaultdir+set}" = set; then :
   withval=$with_initdefaultdir;  INITDEFAULTDIR="$withval"
@@ -17926,6 +17959,7 @@
 
 
 
+
 cat >>confdefs.h <<_ACEOF
 #define DEFAULT_CONFIG_DIR "$(eval echo ${DEFAULT_CONFIG_DIR})"
 _ACEOF
@@ -18382,6 +18416,10 @@
   as_fn_error $? "conditional \"BUILD_COMPRESS_BZIP2\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
+if test -z "${INSTALL_TESTS_TRUE}" && test -z "${INSTALL_TESTS_FALSE}"; then
+  as_fn_error $? "conditional \"INSTALL_TESTS\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
 if test -z "${BUILD_POC_TRUE}" && test -z "${BUILD_POC_FALSE}"; then
   as_fn_error $? "conditional \"BUILD_POC\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -18803,7 +18841,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by kronosnet $as_me 1.7, which was
+This file was extended by kronosnet $as_me 1.8, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -18869,7 +18907,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-kronosnet config.status 1.7
+kronosnet config.status 1.8
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -Nru kronosnet-1.7/configure.ac kronosnet-1.8/configure.ac
--- kronosnet-1.7/configure.ac	2019-01-30 05:49:56.000000000 +0100
+++ kronosnet-1.8/configure.ac	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
 #
 # Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #          Federico Simoncelli <fsimon@kronosnet.org>
@@ -144,6 +144,11 @@
 				[AC_MSG_ERROR(["missing required bzlib.h"])])])
 ])
 
+AC_ARG_ENABLE([install-tests],
+	[AS_HELP_STRING([--enable-install-tests],[install tests])],,
+	[ enable_install_tests="no" ])
+AM_CONDITIONAL([INSTALL_TESTS], [test x$enable_install_tests = xyes])
+
 AC_ARG_ENABLE([poc],
 	[AS_HELP_STRING([--enable-poc],[enable building poc code])],,
 	[ enable_poc="no" ])
@@ -294,6 +299,11 @@
 AC_ARG_ENABLE([debug],
 	[AS_HELP_STRING([--enable-debug],[enable debug build])])
 
+AC_ARG_WITH([testdir],
+	[AS_HELP_STRING([--with-testdir=DIR],[path to /usr/lib../kronosnet/tests/ dir where to install the test suite])],
+	[ TESTDIR="$withval" ],
+	[ TESTDIR="$libdir/kronosnet/tests" ])
+
 AC_ARG_WITH([initdefaultdir],
 	[AS_HELP_STRING([--with-initdefaultdir=DIR],[path to /etc/sysconfig or /etc/default dir])],
 	[ INITDEFAULTDIR="$withval" ],
@@ -333,6 +343,7 @@
 
 ## do subst
 
+AC_SUBST([TESTDIR])
 AC_SUBST([DEFAULT_CONFIG_DIR])
 AC_SUBST([INITDEFAULTDIR])
 AC_SUBST([INITDDIR])
diff -Nru kronosnet-1.7/COPYRIGHT kronosnet-1.8/COPYRIGHT
--- kronosnet-1.7/COPYRIGHT	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/COPYRIGHT	2019-03-27 04:52:38.000000000 +0100
@@ -1,4 +1,4 @@
-Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
 
 Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
          Christine Caulfield <ccaulfie@redhat.com>
diff -Nru kronosnet-1.7/debian/changelog kronosnet-1.8/debian/changelog
--- kronosnet-1.7/debian/changelog	2019-01-31 19:06:49.000000000 +0100
+++ kronosnet-1.8/debian/changelog	2019-04-01 23:59:14.000000000 +0200
@@ -1,3 +1,10 @@
+kronosnet (1.8-1) unstable; urgency=medium
+
+  * [ff7beff] New upstream release (1.8)
+  * [21d7565] Update copyright years
+
+ -- Ferenc Wágner <wferi@debian.org>  Mon, 01 Apr 2019 23:59:14 +0200
+
 kronosnet (1.7-1) unstable; urgency=medium
 
   * [4e5fcde] New upstream release (1.7)
diff -Nru kronosnet-1.7/debian/copyright kronosnet-1.8/debian/copyright
--- kronosnet-1.7/debian/copyright	2019-01-30 13:37:50.000000000 +0100
+++ kronosnet-1.8/debian/copyright	2019-04-01 23:58:03.000000000 +0200
@@ -3,20 +3,20 @@
 Source: https://kronosnet.org/releases
 
 Files: *
-Copyright: 2010-2018 Red Hat, Inc.
+Copyright: 2010-2019 Red Hat, Inc.
 License: GPL-2+
 
 Files: libknet/*
        libnozzle/*
-Copyright: 2010-2018 Red Hat, Inc.
+Copyright: 2010-2019 Red Hat, Inc.
 License: LGPL-2.1+
 
 Files: debian/*
-Copyright: 2017-2018 Ferenc Wágner <wferi@debian.org>
+Copyright: 2017-2019 Ferenc Wágner <wferi@debian.org>
 License: LGPL-2.1+
 
 Files: build-aux/git-version-gen
-Copyright: 2018 Red Hat, Inc.
+Copyright: 2012-2019 Red Hat, Inc.
            2007-2016 Free Software Foundation, Inc.
 License: GPL-3+
 
diff -Nru kronosnet-1.7/init/kronosnetd.default kronosnet-1.8/init/kronosnetd.default
--- kronosnet-1.7/init/kronosnetd.default	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/init/kronosnetd.default	2019-03-27 04:52:38.000000000 +0100
@@ -1,6 +1,6 @@
 # kronosnetd startup options (see man kronosnetd.8)
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/init/kronosnetd.in kronosnet-1.8/init/kronosnetd.in
--- kronosnet-1.7/init/kronosnetd.in	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/init/kronosnetd.in	2019-03-27 04:52:38.000000000 +0100
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/init/kronosnetd.service.in kronosnet-1.8/init/kronosnetd.service.in
--- kronosnet-1.7/init/kronosnetd.service.in	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/init/kronosnetd.service.in	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/init/Makefile.am kronosnet-1.8/init/Makefile.am
--- kronosnet-1.7/init/Makefile.am	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/init/Makefile.am	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/init/Makefile.in kronosnet-1.8/init/Makefile.in
--- kronosnet-1.7/init/Makefile.in	2019-01-30 05:50:33.000000000 +0100
+++ kronosnet-1.8/init/Makefile.in	2019-03-27 04:55:01.000000000 +0100
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -23,7 +23,7 @@
 #
 
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -260,6 +260,7 @@
 SOURCE_EPOCH = @SOURCE_EPOCH@
 STRIP = @STRIP@
 SYSTEMDDIR = @SYSTEMDDIR@
+TESTDIR = @TESTDIR@
 UTC_DATE_AT = @UTC_DATE_AT@
 VALGRIND_EXEC = @VALGRIND_EXEC@
 VERSION = @VERSION@
@@ -531,9 +532,9 @@
 	@echo "This command is intended for maintainers to use"
 	@echo "it deletes files that may require special tools to rebuild."
 	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
+@BUILD_KRONOSNETD_FALSE@clean-local:
 @BUILD_KRONOSNETD_FALSE@install-exec-local:
 @BUILD_KRONOSNETD_FALSE@uninstall-local:
-@BUILD_KRONOSNETD_FALSE@clean-local:
 clean: clean-am
 
 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
diff -Nru kronosnet-1.7/kronosnetd/cfg.c kronosnet-1.8/kronosnetd/cfg.c
--- kronosnet-1.7/kronosnetd/cfg.c	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/kronosnetd/cfg.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/kronosnetd/cfg.h kronosnet-1.8/kronosnetd/cfg.h
--- kronosnet-1.7/kronosnetd/cfg.h	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/kronosnetd/cfg.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/kronosnetd/etherfilter.c kronosnet-1.8/kronosnetd/etherfilter.c
--- kronosnet-1.7/kronosnetd/etherfilter.c	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/kronosnetd/etherfilter.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/kronosnetd/etherfilter.h kronosnet-1.8/kronosnetd/etherfilter.h
--- kronosnet-1.7/kronosnetd/etherfilter.h	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/kronosnetd/etherfilter.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/kronosnetd/keygen.c kronosnet-1.8/kronosnetd/keygen.c
--- kronosnet-1.7/kronosnetd/keygen.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/kronosnetd/keygen.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/kronosnetd/kronosnetd.logrotate.in kronosnet-1.8/kronosnetd/kronosnetd.logrotate.in
--- kronosnet-1.7/kronosnetd/kronosnetd.logrotate.in	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/kronosnetd/kronosnetd.logrotate.in	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/kronosnetd/logging.c kronosnet-1.8/kronosnetd/logging.c
--- kronosnet-1.7/kronosnetd/logging.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/kronosnetd/logging.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/kronosnetd/logging.h kronosnet-1.8/kronosnetd/logging.h
--- kronosnet-1.7/kronosnetd/logging.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/kronosnetd/logging.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/kronosnetd/main.c kronosnet-1.8/kronosnetd/main.c
--- kronosnet-1.7/kronosnetd/main.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/kronosnetd/main.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/kronosnetd/Makefile.am kronosnet-1.8/kronosnetd/Makefile.am
--- kronosnet-1.7/kronosnetd/Makefile.am	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/kronosnetd/Makefile.am	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/kronosnetd/Makefile.in kronosnet-1.8/kronosnetd/Makefile.in
--- kronosnet-1.7/kronosnetd/Makefile.in	2019-01-30 05:50:33.000000000 +0100
+++ kronosnet-1.8/kronosnetd/Makefile.in	2019-03-27 04:55:01.000000000 +0100
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -23,7 +23,7 @@
 #
 
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -306,6 +306,7 @@
 SOURCE_EPOCH = @SOURCE_EPOCH@
 STRIP = @STRIP@
 SYSTEMDDIR = @SYSTEMDDIR@
+TESTDIR = @TESTDIR@
 UTC_DATE_AT = @UTC_DATE_AT@
 VALGRIND_EXEC = @VALGRIND_EXEC@
 VERSION = @VERSION@
@@ -841,8 +842,8 @@
 	@echo "This command is intended for maintainers to use"
 	@echo "it deletes files that may require special tools to rebuild."
 	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
-@BUILD_KRONOSNETD_FALSE@uninstall-local:
 @BUILD_KRONOSNETD_FALSE@install-exec-local:
+@BUILD_KRONOSNETD_FALSE@uninstall-local:
 clean: clean-am
 
 clean-am: clean-generic clean-libtool clean-sbinPROGRAMS \
diff -Nru kronosnet-1.7/kronosnetd/vty_auth.c kronosnet-1.8/kronosnetd/vty_auth.c
--- kronosnet-1.7/kronosnetd/vty_auth.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/kronosnetd/vty_auth.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/kronosnetd/vty_auth.h kronosnet-1.8/kronosnetd/vty_auth.h
--- kronosnet-1.7/kronosnetd/vty_auth.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/kronosnetd/vty_auth.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/kronosnetd/vty.c kronosnet-1.8/kronosnetd/vty.c
--- kronosnet-1.7/kronosnetd/vty.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/kronosnetd/vty.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/kronosnetd/vty_cli.c kronosnet-1.8/kronosnetd/vty_cli.c
--- kronosnet-1.7/kronosnetd/vty_cli.c	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/kronosnetd/vty_cli.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/kronosnetd/vty_cli_cmds.c kronosnet-1.8/kronosnetd/vty_cli_cmds.c
--- kronosnet-1.7/kronosnetd/vty_cli_cmds.c	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/kronosnetd/vty_cli_cmds.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/kronosnetd/vty_cli_cmds.h kronosnet-1.8/kronosnetd/vty_cli_cmds.h
--- kronosnet-1.7/kronosnetd/vty_cli_cmds.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/kronosnetd/vty_cli_cmds.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/kronosnetd/vty_cli.h kronosnet-1.8/kronosnetd/vty_cli.h
--- kronosnet-1.7/kronosnetd/vty_cli.h	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/kronosnetd/vty_cli.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/kronosnetd/vty.h kronosnet-1.8/kronosnetd/vty.h
--- kronosnet-1.7/kronosnetd/vty.h	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/kronosnetd/vty.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/kronosnetd/vty_utils.c kronosnet-1.8/kronosnetd/vty_utils.c
--- kronosnet-1.7/kronosnetd/vty_utils.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/kronosnetd/vty_utils.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/kronosnetd/vty_utils.h kronosnet-1.8/kronosnetd/vty_utils.h
--- kronosnet-1.7/kronosnetd/vty_utils.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/kronosnetd/vty_utils.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/kronosnet.spec.in kronosnet-1.8/kronosnet.spec.in
--- kronosnet-1.7/kronosnet.spec.in	2019-01-30 05:49:56.000000000 +0100
+++ kronosnet-1.8/kronosnet.spec.in	2019-03-27 04:52:38.000000000 +0100
@@ -1,7 +1,7 @@
 ###############################################################################
 ###############################################################################
 ##
-##  Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+##  Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 ##
 ##  This copyrighted material is made available to anyone wishing to use,
 ##  modify, copy, or redistribute it subject to the terms and conditions
@@ -30,6 +30,7 @@
 %@rpmdebuginfo@ rpmdebuginfo
 %@overriderpmdebuginfo@ overriderpmdebuginfo
 %@buildman@ buildman
+%@installtests@ installtests
 
 %if %{with overriderpmdebuginfo}
 %undefine _enable_debug_packages
@@ -72,6 +73,9 @@
 %if %{with buildman}
 %global buildmanpages 1
 %endif
+%if %{with installtests}
+%global installtestsuite 1
+%endif
 
 # main (empty) package
 # http://www.rpm.org/max-rpm/s1-rpm-subpack-spec-file-changes.html
@@ -140,6 +144,11 @@
 %endif
 
 %{configure} \
+%if %{defined installtestsuite}
+	--enable-install-tests \
+%else
+	--disable-install-tests \
+%endif
 %if %{defined buildmanpages}
 	--enable-man \
 %else
@@ -531,6 +540,20 @@
 
 %files -n libknet1-plugins-all
 
+%if %{with installtests}
+%package -n kronosnet-tests
+Group: System Environment/Libraries
+Summary: kronosnet test suite
+Requires: libknet1 = %{version}-%{release}
+
+%description -n kronosnet-tests
+ this package contains all the libknet and libnozzle test suite
+
+%files -n kronosnet-tests
+%defattr(-,root,root,-)
+%{_libdir}/kronosnet/tests/*
+%endif
+
 %if %{with rpmdebuginfo}
 %debug_package
 %endif
diff -Nru kronosnet-1.7/libknet/common.c kronosnet-1.8/libknet/common.c
--- kronosnet-1.7/libknet/common.c	2019-01-30 05:49:56.000000000 +0100
+++ kronosnet-1.8/libknet/common.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/common.h kronosnet-1.8/libknet/common.h
--- kronosnet-1.7/libknet/common.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/common.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/compat.c kronosnet-1.8/libknet/compat.c
--- kronosnet-1.7/libknet/compat.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/compat.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Jan Friesse <jfriesse@redhat.com>
  *
diff -Nru kronosnet-1.7/libknet/compat.h kronosnet-1.8/libknet/compat.h
--- kronosnet-1.7/libknet/compat.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/compat.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Jan Friesse <jfriesse@redhat.com>
  *
diff -Nru kronosnet-1.7/libknet/compress_bzip2.c kronosnet-1.8/libknet/compress_bzip2.c
--- kronosnet-1.7/libknet/compress_bzip2.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/compress_bzip2.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/compress.c kronosnet-1.8/libknet/compress.c
--- kronosnet-1.7/libknet/compress.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/compress.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/compress.h kronosnet-1.8/libknet/compress.h
--- kronosnet-1.7/libknet/compress.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/compress.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/compress_lz4.c kronosnet-1.8/libknet/compress_lz4.c
--- kronosnet-1.7/libknet/compress_lz4.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/compress_lz4.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/compress_lz4hc.c kronosnet-1.8/libknet/compress_lz4hc.c
--- kronosnet-1.7/libknet/compress_lz4hc.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/compress_lz4hc.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/compress_lzma.c kronosnet-1.8/libknet/compress_lzma.c
--- kronosnet-1.7/libknet/compress_lzma.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/compress_lzma.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/compress_lzo2.c kronosnet-1.8/libknet/compress_lzo2.c
--- kronosnet-1.7/libknet/compress_lzo2.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/compress_lzo2.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/compress_model.h kronosnet-1.8/libknet/compress_model.h
--- kronosnet-1.7/libknet/compress_model.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/compress_model.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/compress_zlib.c kronosnet-1.8/libknet/compress_zlib.c
--- kronosnet-1.7/libknet/compress_zlib.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/compress_zlib.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/crypto.c kronosnet-1.8/libknet/crypto.c
--- kronosnet-1.7/libknet/crypto.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/crypto.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/crypto.h kronosnet-1.8/libknet/crypto.h
--- kronosnet-1.7/libknet/crypto.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/crypto.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/crypto_model.h kronosnet-1.8/libknet/crypto_model.h
--- kronosnet-1.7/libknet/crypto_model.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/crypto_model.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/crypto_nss.c kronosnet-1.8/libknet/crypto_nss.c
--- kronosnet-1.7/libknet/crypto_nss.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/crypto_nss.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/crypto_openssl.c kronosnet-1.8/libknet/crypto_openssl.c
--- kronosnet-1.7/libknet/crypto_openssl.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/crypto_openssl.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/handle.c kronosnet-1.8/libknet/handle.c
--- kronosnet-1.7/libknet/handle.c	2019-01-30 05:49:56.000000000 +0100
+++ kronosnet-1.8/libknet/handle.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/host.c kronosnet-1.8/libknet/host.c
--- kronosnet-1.7/libknet/host.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/host.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
@@ -680,12 +680,12 @@
 	}
 
 	if (host->link_handler_policy == KNET_LINK_POLICY_PASSIVE) {
-		log_debug(knet_h, KNET_SUB_HOST, "host: %u (passive) best link: %u (pri: %u)",
-			  host->host_id, host->link[host->active_links[0]].link_id,
-			  host->link[host->active_links[0]].priority);
+		log_info(knet_h, KNET_SUB_HOST, "host: %u (passive) best link: %u (pri: %u)",
+			 host->host_id, host->link[host->active_links[0]].link_id,
+			 host->link[host->active_links[0]].priority);
 	} else {
-		log_debug(knet_h, KNET_SUB_HOST, "host: %u has %u active links",
-			  host->host_id, host->active_link_entries);
+		log_info(knet_h, KNET_SUB_HOST, "host: %u has %u active links",
+			 host->host_id, host->active_link_entries);
 	}
 
 	/* no active links, we can clean the circular buffers and indexes */
diff -Nru kronosnet-1.7/libknet/host.h kronosnet-1.8/libknet/host.h
--- kronosnet-1.7/libknet/host.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/host.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/internals.h kronosnet-1.8/libknet/internals.h
--- kronosnet-1.7/libknet/internals.h	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/libknet/internals.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
@@ -255,6 +255,12 @@
  *       for every protocol.
  */
 
+/*
+ * make it easier to map values in transports.c
+ */
+#define TRANSPORT_PROTO_NOT_CONNECTION_ORIENTED 0
+#define TRANSPORT_PROTO_IS_CONNECTION_ORIENTED  1
+
 typedef struct knet_transport_ops {
 /*
  * transport generic information
@@ -263,6 +269,13 @@
 	const uint8_t transport_id;
 	const uint8_t built_in;
 
+/*
+ * connection oriented protocols like SCTP
+ * don´t need dst_addr in sendto calls and
+ * on some OSes are considered EINVAL.
+ */
+	uint8_t transport_is_connection_oriented;
+
 	uint32_t transport_mtu_overhead;
 /*
  * transport init must allocate the new transport
diff -Nru kronosnet-1.7/libknet/libknet_exported_syms kronosnet-1.8/libknet/libknet_exported_syms
--- kronosnet-1.7/libknet/libknet_exported_syms	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/libknet_exported_syms	2019-03-27 04:52:38.000000000 +0100
@@ -1,6 +1,6 @@
 # Version and symbol export for libknet.so
 #
-# Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/libknet/libknet.h kronosnet-1.8/libknet/libknet.h
--- kronosnet-1.7/libknet/libknet.h	2019-01-30 05:49:56.000000000 +0100
+++ kronosnet-1.8/libknet/libknet.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
@@ -19,7 +19,7 @@
 /**
  * @file libknet.h
  * @brief kronosnet API include file
- * @copyright Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * @copyright Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Kronosnet is an advanced VPN system for High Availability applications.
  */
diff -Nru kronosnet-1.7/libknet/libknet.pc.in kronosnet-1.8/libknet/libknet.pc.in
--- kronosnet-1.7/libknet/libknet.pc.in	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/libknet.pc.in	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Federico Simoncelli <fsimon@kronosnet.org>
 #
diff -Nru kronosnet-1.7/libknet/links.c kronosnet-1.8/libknet/links.c
--- kronosnet-1.7/libknet/links.c	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/libknet/links.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
@@ -98,6 +98,12 @@
 		errno = EINVAL;
 		return -1;
 	}
+
+	if (dst_addr && (src_addr->ss_family != dst_addr->ss_family)) {
+		log_err(knet_h, KNET_SUB_LINK, "Source address family does not match destination address family");
+		errno = EINVAL;
+		return -1;
+	}
 
 	if (transport >= KNET_MAX_TRANSPORTS) {
 		errno = EINVAL;
diff -Nru kronosnet-1.7/libknet/links.h kronosnet-1.8/libknet/links.h
--- kronosnet-1.7/libknet/links.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/links.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/logging.c kronosnet-1.8/libknet/logging.c
--- kronosnet-1.7/libknet/logging.c	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/libknet/logging.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/logging.h kronosnet-1.8/libknet/logging.h
--- kronosnet-1.7/libknet/logging.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/logging.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/Makefile.am kronosnet-1.8/libknet/Makefile.am
--- kronosnet-1.7/libknet/Makefile.am	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/libknet/Makefile.am	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
 #
 # Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/Makefile.in kronosnet-1.8/libknet/Makefile.in
--- kronosnet-1.7/libknet/Makefile.in	2019-01-30 05:50:33.000000000 +0100
+++ kronosnet-1.8/libknet/Makefile.in	2019-03-27 04:55:01.000000000 +0100
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 #
-# Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
 #
 # Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #          Federico Simoncelli <fsimon@kronosnet.org>
@@ -24,7 +24,7 @@
 #
 
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -488,6 +488,7 @@
 SOURCE_EPOCH = @SOURCE_EPOCH@
 STRIP = @STRIP@
 SYSTEMDDIR = @SYSTEMDDIR@
+TESTDIR = @TESTDIR@
 UTC_DATE_AT = @UTC_DATE_AT@
 VALGRIND_EXEC = @VALGRIND_EXEC@
 VERSION = @VERSION@
diff -Nru kronosnet-1.7/libknet/netutils.c kronosnet-1.8/libknet/netutils.c
--- kronosnet-1.7/libknet/netutils.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/netutils.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/netutils.h kronosnet-1.8/libknet/netutils.h
--- kronosnet-1.7/libknet/netutils.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/netutils.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/onwire.h kronosnet-1.8/libknet/onwire.h
--- kronosnet-1.7/libknet/onwire.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/onwire.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/tests/api-check.mk kronosnet-1.8/libknet/tests/api-check.mk
--- kronosnet-1.7/libknet/tests/api-check.mk	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api-check.mk	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
 #
 # Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/libknet/tests/api_knet_addrtostr.c kronosnet-1.8/libknet/tests/api_knet_addrtostr.c
--- kronosnet-1.7/libknet/tests/api_knet_addrtostr.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_addrtostr.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/tests/api_knet_get_compress_list.c kronosnet-1.8/libknet/tests/api_knet_get_compress_list.c
--- kronosnet-1.7/libknet/tests/api_knet_get_compress_list.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_get_compress_list.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_get_crypto_list.c kronosnet-1.8/libknet/tests/api_knet_get_crypto_list.c
--- kronosnet-1.7/libknet/tests/api_knet_get_crypto_list.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_get_crypto_list.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_get_transport_id_by_name.c kronosnet-1.8/libknet/tests/api_knet_get_transport_id_by_name.c
--- kronosnet-1.7/libknet/tests/api_knet_get_transport_id_by_name.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_get_transport_id_by_name.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_get_transport_list.c kronosnet-1.8/libknet/tests/api_knet_get_transport_list.c
--- kronosnet-1.7/libknet/tests/api_knet_get_transport_list.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_get_transport_list.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_get_transport_name_by_id.c kronosnet-1.8/libknet/tests/api_knet_get_transport_name_by_id.c
--- kronosnet-1.7/libknet/tests/api_knet_get_transport_name_by_id.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_get_transport_name_by_id.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_add_datafd.c kronosnet-1.8/libknet/tests/api_knet_handle_add_datafd.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_add_datafd.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_add_datafd.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_clear_stats.c kronosnet-1.8/libknet/tests/api_knet_handle_clear_stats.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_clear_stats.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_clear_stats.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_compress.c kronosnet-1.8/libknet/tests/api_knet_handle_compress.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_compress.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_compress.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_crypto.c kronosnet-1.8/libknet/tests/api_knet_handle_crypto.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_crypto.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_crypto.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_enable_filter.c kronosnet-1.8/libknet/tests/api_knet_handle_enable_filter.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_enable_filter.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_enable_filter.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_enable_pmtud_notify.c kronosnet-1.8/libknet/tests/api_knet_handle_enable_pmtud_notify.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_enable_pmtud_notify.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_enable_pmtud_notify.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_enable_sock_notify.c kronosnet-1.8/libknet/tests/api_knet_handle_enable_sock_notify.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_enable_sock_notify.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_enable_sock_notify.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_free.c kronosnet-1.8/libknet/tests/api_knet_handle_free.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_free.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_free.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_get_channel.c kronosnet-1.8/libknet/tests/api_knet_handle_get_channel.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_get_channel.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_get_channel.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_get_datafd.c kronosnet-1.8/libknet/tests/api_knet_handle_get_datafd.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_get_datafd.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_get_datafd.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_get_stats.c kronosnet-1.8/libknet/tests/api_knet_handle_get_stats.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_get_stats.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_get_stats.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_get_transport_reconnect_interval.c kronosnet-1.8/libknet/tests/api_knet_handle_get_transport_reconnect_interval.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_get_transport_reconnect_interval.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_get_transport_reconnect_interval.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_new.c kronosnet-1.8/libknet/tests/api_knet_handle_new.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_new.c	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_new.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_new_limit.c kronosnet-1.8/libknet/tests/api_knet_handle_new_limit.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_new_limit.c	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_new_limit.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_pmtud_get.c kronosnet-1.8/libknet/tests/api_knet_handle_pmtud_get.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_pmtud_get.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_pmtud_get.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_pmtud_getfreq.c kronosnet-1.8/libknet/tests/api_knet_handle_pmtud_getfreq.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_pmtud_getfreq.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_pmtud_getfreq.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_pmtud_setfreq.c kronosnet-1.8/libknet/tests/api_knet_handle_pmtud_setfreq.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_pmtud_setfreq.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_pmtud_setfreq.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_remove_datafd.c kronosnet-1.8/libknet/tests/api_knet_handle_remove_datafd.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_remove_datafd.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_remove_datafd.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_setfwd.c kronosnet-1.8/libknet/tests/api_knet_handle_setfwd.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_setfwd.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_setfwd.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_handle_set_transport_reconnect_interval.c kronosnet-1.8/libknet/tests/api_knet_handle_set_transport_reconnect_interval.c
--- kronosnet-1.7/libknet/tests/api_knet_handle_set_transport_reconnect_interval.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_handle_set_transport_reconnect_interval.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_host_add.c kronosnet-1.8/libknet/tests/api_knet_host_add.c
--- kronosnet-1.7/libknet/tests/api_knet_host_add.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_host_add.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_host_enable_status_change_notify.c kronosnet-1.8/libknet/tests/api_knet_host_enable_status_change_notify.c
--- kronosnet-1.7/libknet/tests/api_knet_host_enable_status_change_notify.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_host_enable_status_change_notify.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_host_get_host_list.c kronosnet-1.8/libknet/tests/api_knet_host_get_host_list.c
--- kronosnet-1.7/libknet/tests/api_knet_host_get_host_list.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_host_get_host_list.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_host_get_id_by_host_name.c kronosnet-1.8/libknet/tests/api_knet_host_get_id_by_host_name.c
--- kronosnet-1.7/libknet/tests/api_knet_host_get_id_by_host_name.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_host_get_id_by_host_name.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_host_get_name_by_host_id.c kronosnet-1.8/libknet/tests/api_knet_host_get_name_by_host_id.c
--- kronosnet-1.7/libknet/tests/api_knet_host_get_name_by_host_id.c	2019-01-30 05:49:56.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_host_get_name_by_host_id.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_host_get_policy.c kronosnet-1.8/libknet/tests/api_knet_host_get_policy.c
--- kronosnet-1.7/libknet/tests/api_knet_host_get_policy.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_host_get_policy.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_host_get_status.c kronosnet-1.8/libknet/tests/api_knet_host_get_status.c
--- kronosnet-1.7/libknet/tests/api_knet_host_get_status.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_host_get_status.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_host_remove.c kronosnet-1.8/libknet/tests/api_knet_host_remove.c
--- kronosnet-1.7/libknet/tests/api_knet_host_remove.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_host_remove.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_host_set_name.c kronosnet-1.8/libknet/tests/api_knet_host_set_name.c
--- kronosnet-1.7/libknet/tests/api_knet_host_set_name.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_host_set_name.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_host_set_policy.c kronosnet-1.8/libknet/tests/api_knet_host_set_policy.c
--- kronosnet-1.7/libknet/tests/api_knet_host_set_policy.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_host_set_policy.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_link_clear_config.c kronosnet-1.8/libknet/tests/api_knet_link_clear_config.c
--- kronosnet-1.7/libknet/tests/api_knet_link_clear_config.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_link_clear_config.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_link_get_config.c kronosnet-1.8/libknet/tests/api_knet_link_get_config.c
--- kronosnet-1.7/libknet/tests/api_knet_link_get_config.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_link_get_config.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_link_get_enable.c kronosnet-1.8/libknet/tests/api_knet_link_get_enable.c
--- kronosnet-1.7/libknet/tests/api_knet_link_get_enable.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_link_get_enable.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_link_get_link_list.c kronosnet-1.8/libknet/tests/api_knet_link_get_link_list.c
--- kronosnet-1.7/libknet/tests/api_knet_link_get_link_list.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_link_get_link_list.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_link_get_ping_timers.c kronosnet-1.8/libknet/tests/api_knet_link_get_ping_timers.c
--- kronosnet-1.7/libknet/tests/api_knet_link_get_ping_timers.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_link_get_ping_timers.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_link_get_pong_count.c kronosnet-1.8/libknet/tests/api_knet_link_get_pong_count.c
--- kronosnet-1.7/libknet/tests/api_knet_link_get_pong_count.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_link_get_pong_count.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_link_get_priority.c kronosnet-1.8/libknet/tests/api_knet_link_get_priority.c
--- kronosnet-1.7/libknet/tests/api_knet_link_get_priority.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_link_get_priority.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_link_get_status.c kronosnet-1.8/libknet/tests/api_knet_link_get_status.c
--- kronosnet-1.7/libknet/tests/api_knet_link_get_status.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_link_get_status.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_link_set_config.c kronosnet-1.8/libknet/tests/api_knet_link_set_config.c
--- kronosnet-1.7/libknet/tests/api_knet_link_set_config.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_link_set_config.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
@@ -111,6 +111,24 @@
 
 	flush_logs(logfds[0], stdout);
 
+	printf("Test knet_link_set_config with conflicting address families\n");
+
+	if (make_local_sockaddr6(&dst, 1) < 0) {
+		printf("Unable to convert dst to sockaddr: %s\n", strerror(errno));
+		exit(FAIL);
+	}
+
+	if (knet_link_set_config(knet_h, 1, 0, KNET_TRANSPORT_UDP, &src, &dst, 0) == 0) {
+		printf("knet_link_set_config accepted invalid address families: %s\n", strerror(errno));
+		knet_host_remove(knet_h, 1);
+		knet_handle_free(knet_h);
+		flush_logs(logfds[0], stdout);
+		close_logpipes(logfds);
+		exit(FAIL);
+	}
+
+	flush_logs(logfds[0], stdout);
+
 	printf("Test knet_link_set_config with dynamic dst_addr\n");
 
 	if (knet_link_set_config(knet_h, 1, 0, KNET_TRANSPORT_UDP, &src, NULL, 0) < 0) {
@@ -212,6 +230,11 @@
 
 	printf("Test knet_link_set_config with static dst_addr\n");
 
+	if (make_local_sockaddr(&dst, 1) < 0) {
+		printf("Unable to convert dst to sockaddr: %s\n", strerror(errno));
+		exit(FAIL);
+	}
+
 	if (knet_link_set_config(knet_h, 1, 0, KNET_TRANSPORT_UDP, &src, &dst, 0) < 0) {
 		printf("Unable to configure link: %s\n", strerror(errno));
 		knet_host_remove(knet_h, 1);
diff -Nru kronosnet-1.7/libknet/tests/api_knet_link_set_enable.c kronosnet-1.8/libknet/tests/api_knet_link_set_enable.c
--- kronosnet-1.7/libknet/tests/api_knet_link_set_enable.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_link_set_enable.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_link_set_ping_timers.c kronosnet-1.8/libknet/tests/api_knet_link_set_ping_timers.c
--- kronosnet-1.7/libknet/tests/api_knet_link_set_ping_timers.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_link_set_ping_timers.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_link_set_pong_count.c kronosnet-1.8/libknet/tests/api_knet_link_set_pong_count.c
--- kronosnet-1.7/libknet/tests/api_knet_link_set_pong_count.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_link_set_pong_count.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_link_set_priority.c kronosnet-1.8/libknet/tests/api_knet_link_set_priority.c
--- kronosnet-1.7/libknet/tests/api_knet_link_set_priority.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_link_set_priority.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_log_get_loglevel.c kronosnet-1.8/libknet/tests/api_knet_log_get_loglevel.c
--- kronosnet-1.7/libknet/tests/api_knet_log_get_loglevel.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_log_get_loglevel.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_log_get_loglevel_id.c kronosnet-1.8/libknet/tests/api_knet_log_get_loglevel_id.c
--- kronosnet-1.7/libknet/tests/api_knet_log_get_loglevel_id.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_log_get_loglevel_id.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_log_get_loglevel_name.c kronosnet-1.8/libknet/tests/api_knet_log_get_loglevel_name.c
--- kronosnet-1.7/libknet/tests/api_knet_log_get_loglevel_name.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_log_get_loglevel_name.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_log_get_subsystem_id.c kronosnet-1.8/libknet/tests/api_knet_log_get_subsystem_id.c
--- kronosnet-1.7/libknet/tests/api_knet_log_get_subsystem_id.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_log_get_subsystem_id.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_log_get_subsystem_name.c kronosnet-1.8/libknet/tests/api_knet_log_get_subsystem_name.c
--- kronosnet-1.7/libknet/tests/api_knet_log_get_subsystem_name.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_log_get_subsystem_name.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_log_set_loglevel.c kronosnet-1.8/libknet/tests/api_knet_log_set_loglevel.c
--- kronosnet-1.7/libknet/tests/api_knet_log_set_loglevel.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_log_set_loglevel.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_recv.c kronosnet-1.8/libknet/tests/api_knet_recv.c
--- kronosnet-1.7/libknet/tests/api_knet_recv.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_recv.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_send.c kronosnet-1.8/libknet/tests/api_knet_send.c
--- kronosnet-1.7/libknet/tests/api_knet_send.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_send.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
@@ -33,7 +33,7 @@
 	return;
 }
 
-static void test(void)
+static void test(uint8_t transport)
 {
 	knet_handle_t knet_h;
 	int logfds[2];
@@ -172,7 +172,7 @@
 		exit(FAIL);
 	}
 
-	if (knet_link_set_config(knet_h, 1, 0, KNET_TRANSPORT_UDP, &lo, &lo, 0) < 0) {
+	if (knet_link_set_config(knet_h, 1, 0, transport, &lo, &lo, 0) < 0) {
 		printf("Unable to configure link: %s\n", strerror(errno));
 		knet_host_remove(knet_h, 1);
 		knet_handle_free(knet_h);
@@ -314,7 +314,13 @@
 
 int main(int argc, char *argv[])
 {
-	test();
+	printf("Testing with UDP\n");
+	test(KNET_TRANSPORT_UDP);
+
+#ifdef HAVE_NETINET_SCTP_H
+	printf("Testing with SCTP\n");
+	test(KNET_TRANSPORT_SCTP);
+#endif
 
 	return PASS;
 }
diff -Nru kronosnet-1.7/libknet/tests/api_knet_send_compress.c kronosnet-1.8/libknet/tests/api_knet_send_compress.c
--- kronosnet-1.7/libknet/tests/api_knet_send_compress.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_send_compress.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_send_crypto.c kronosnet-1.8/libknet/tests/api_knet_send_crypto.c
--- kronosnet-1.7/libknet/tests/api_knet_send_crypto.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_send_crypto.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_send_loopback.c kronosnet-1.8/libknet/tests/api_knet_send_loopback.c
--- kronosnet-1.7/libknet/tests/api_knet_send_loopback.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_send_loopback.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_send_sync.c kronosnet-1.8/libknet/tests/api_knet_send_sync.c
--- kronosnet-1.7/libknet/tests/api_knet_send_sync.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_send_sync.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/api_knet_strtoaddr.c kronosnet-1.8/libknet/tests/api_knet_strtoaddr.c
--- kronosnet-1.7/libknet/tests/api_knet_strtoaddr.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api_knet_strtoaddr.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/tests/api-test-coverage kronosnet-1.8/libknet/tests/api-test-coverage
--- kronosnet-1.7/libknet/tests/api-test-coverage	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/libknet/tests/api-test-coverage	2019-03-27 04:52:38.000000000 +0100
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/libknet/tests/int_timediff.c kronosnet-1.8/libknet/tests/int_timediff.c
--- kronosnet-1.7/libknet/tests/int_timediff.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/int_timediff.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/tests/knet_bench.c kronosnet-1.8/libknet/tests/knet_bench.c
--- kronosnet-1.7/libknet/tests/knet_bench.c	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/libknet/tests/knet_bench.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
@@ -86,7 +86,7 @@
 	printf(" -P [UDP|SCTP]                             (default: UDP) protocol (transport) to use for all links\n");
 	printf(" -t [nodeid]                               This nodeid (required)\n");
 	printf(" -n [nodeid],[proto]/[link1_ip],[link2_..] Other nodes information (at least one required)\n");
-	printf("                                           Example: -t 1,192.168.8.1,SCTP/3ffe::8:1,UDP/172...\n");
+	printf("                                           Example: -n 1,192.168.8.1,SCTP/3ffe::8:1,UDP/172...\n");
 	printf("                                           can be repeated up to %d and should contain also the localnode info\n", MAX_NODES);
 	printf(" -b [port]                                 baseport (default: 50000)\n");
 	printf(" -l                                        enable global listener on 0.0.0.0/:: (default: off, incompatible with -o)\n");
@@ -814,7 +814,7 @@
 
 retry:
 	errno = 0;
-	sent_msgs = _sendmmsg(datafd, &msg[0], msgs_to_send, MSG_NOSIGNAL);
+	sent_msgs = _sendmmsg(datafd, 0, &msg[0], msgs_to_send, MSG_NOSIGNAL);
 
 	if (sent_msgs < 0) {
 		if ((errno == EAGAIN) || (errno == EWOULDBLOCK)) {
diff -Nru kronosnet-1.7/libknet/tests/Makefile.am kronosnet-1.8/libknet/tests/Makefile.am
--- kronosnet-1.7/libknet/tests/Makefile.am	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/Makefile.am	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
 #
 # Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -51,6 +51,11 @@
 
 TESTS			= $(check_PROGRAMS)
 
+if INSTALL_TESTS
+testsuitedir		= $(TESTDIR)
+testsuite_PROGRAMS	= $(noinst_PROGRAMS)
+endif
+
 check-local: check-api-test-coverage
 
 check-api-test-coverage:
diff -Nru kronosnet-1.7/libknet/tests/Makefile.in kronosnet-1.8/libknet/tests/Makefile.in
--- kronosnet-1.7/libknet/tests/Makefile.in	2019-01-30 05:50:33.000000000 +0100
+++ kronosnet-1.8/libknet/tests/Makefile.in	2019-03-27 04:55:01.000000000 +0100
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 #
-# Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
 #
 # Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -23,7 +23,7 @@
 #
 
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -31,7 +31,7 @@
 #
 
 #
-# Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
 #
 # Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -197,7 +197,8 @@
 am__EXEEXT_2 = int_timediff_test$(EXEEXT)
 am__EXEEXT_3 =
 am__EXEEXT_4 = knet_bench_test$(EXEEXT)
-PROGRAMS = $(noinst_PROGRAMS)
+am__installdirs = "$(DESTDIR)$(testsuitedir)"
+PROGRAMS = $(noinst_PROGRAMS) $(testsuite_PROGRAMS)
 am_api_knet_addrtostr_test_OBJECTS = api_knet_addrtostr.$(OBJEXT)
 api_knet_addrtostr_test_OBJECTS =  \
 	$(am_api_knet_addrtostr_test_OBJECTS)
@@ -1080,6 +1081,7 @@
 SOURCE_EPOCH = @SOURCE_EPOCH@
 STRIP = @STRIP@
 SYSTEMDDIR = @SYSTEMDDIR@
+TESTDIR = @TESTDIR@
 UTC_DATE_AT = @UTC_DATE_AT@
 VALGRIND_EXEC = @VALGRIND_EXEC@
 VERSION = @VERSION@
@@ -1434,6 +1436,8 @@
 			  api-test-coverage
 
 TESTS = $(check_PROGRAMS)
+@INSTALL_TESTS_TRUE@testsuitedir = $(TESTDIR)
+@INSTALL_TESTS_TRUE@testsuite_PROGRAMS = $(noinst_PROGRAMS)
 pckt_test_SOURCES = pckt_test.c
 int_timediff_test_SOURCES = int_timediff.c
 knet_bench_test_SOURCES = knet_bench.c \
@@ -1496,6 +1500,55 @@
 	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
 	echo " rm -f" $$list; \
 	rm -f $$list
+install-testsuitePROGRAMS: $(testsuite_PROGRAMS)
+	@$(NORMAL_INSTALL)
+	@list='$(testsuite_PROGRAMS)'; test -n "$(testsuitedir)" || list=; \
+	if test -n "$$list"; then \
+	  echo " $(MKDIR_P) '$(DESTDIR)$(testsuitedir)'"; \
+	  $(MKDIR_P) "$(DESTDIR)$(testsuitedir)" || exit 1; \
+	fi; \
+	for p in $$list; do echo "$$p $$p"; done | \
+	sed 's/$(EXEEXT)$$//' | \
+	while read p p1; do if test -f $$p \
+	 || test -f $$p1 \
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
+	done | \
+	sed -e 'p;s,.*/,,;n;h' \
+	    -e 's|.*|.|' \
+	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
+	sed 'N;N;N;s,\n, ,g' | \
+	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
+	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
+	    else { print "f", $$3 "/" $$4, $$1; } } \
+	  END { for (d in files) print "f", d, files[d] }' | \
+	while read type dir files; do \
+	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+	    test -z "$$files" || { \
+	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(testsuitedir)$$dir'"; \
+	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(testsuitedir)$$dir" || exit $$?; \
+	    } \
+	; done
+
+uninstall-testsuitePROGRAMS:
+	@$(NORMAL_UNINSTALL)
+	@list='$(testsuite_PROGRAMS)'; test -n "$(testsuitedir)" || list=; \
+	files=`for p in $$list; do echo "$$p"; done | \
+	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
+	      -e 's/$$/$(EXEEXT)/' \
+	`; \
+	test -n "$$list" || exit 0; \
+	echo " ( cd '$(DESTDIR)$(testsuitedir)' && rm -f" $$files ")"; \
+	cd "$(DESTDIR)$(testsuitedir)" && rm -f $$files
+
+clean-testsuitePROGRAMS:
+	@list='$(testsuite_PROGRAMS)'; test -n "$$list" || exit 0; \
+	echo " rm -f" $$list; \
+	rm -f $$list || exit $$?; \
+	test -n "$(EXEEXT)" || exit 0; \
+	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
+	echo " rm -f" $$list; \
+	rm -f $$list
 
 api_knet_addrtostr_test$(EXEEXT): $(api_knet_addrtostr_test_OBJECTS) $(api_knet_addrtostr_test_DEPENDENCIES) $(EXTRA_api_knet_addrtostr_test_DEPENDENCIES) 
 	@rm -f api_knet_addrtostr_test$(EXEEXT)
@@ -2566,6 +2619,9 @@
 check: check-am
 all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(HEADERS)
 installdirs:
+	for dir in "$(DESTDIR)$(testsuitedir)"; do \
+	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+	done
 install: install-am
 install-exec: install-exec-am
 install-data: install-data-am
@@ -2605,7 +2661,7 @@
 clean: clean-am
 
 clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
-	clean-noinstPROGRAMS mostlyclean-am
+	clean-noinstPROGRAMS clean-testsuitePROGRAMS mostlyclean-am
 
 distclean: distclean-am
 		-rm -f ../$(DEPDIR)/common.Po
@@ -2695,7 +2751,7 @@
 
 info-am:
 
-install-data-am:
+install-data-am: install-testsuitePROGRAMS
 
 install-dvi: install-dvi-am
 
@@ -2811,24 +2867,25 @@
 
 ps-am:
 
-uninstall-am:
+uninstall-am: uninstall-testsuitePROGRAMS
 
 .MAKE: check-am install-am install-strip
 
 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-TESTS \
 	check-am check-local clean clean-checkPROGRAMS clean-generic \
-	clean-libtool clean-noinstPROGRAMS cscopelist-am ctags \
-	ctags-am distclean distclean-compile distclean-generic \
-	distclean-libtool distclean-tags distdir dvi dvi-am html \
-	html-am info info-am install install-am install-data \
-	install-data-am install-dvi install-dvi-am install-exec \
-	install-exec-am install-html install-html-am install-info \
-	install-info-am install-man install-pdf install-pdf-am \
-	install-ps install-ps-am install-strip installcheck \
-	installcheck-am installdirs maintainer-clean \
-	maintainer-clean-generic mostlyclean mostlyclean-compile \
-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-	recheck tags tags-am uninstall uninstall-am
+	clean-libtool clean-noinstPROGRAMS clean-testsuitePROGRAMS \
+	cscopelist-am ctags ctags-am distclean distclean-compile \
+	distclean-generic distclean-libtool distclean-tags distdir dvi \
+	dvi-am html html-am info info-am install install-am \
+	install-data install-data-am install-dvi install-dvi-am \
+	install-exec install-exec-am install-html install-html-am \
+	install-info install-info-am install-man install-pdf \
+	install-pdf-am install-ps install-ps-am install-strip \
+	install-testsuitePROGRAMS installcheck installcheck-am \
+	installdirs maintainer-clean maintainer-clean-generic \
+	mostlyclean mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \
+	uninstall uninstall-am uninstall-testsuitePROGRAMS
 
 .PRECIOUS: Makefile
 
diff -Nru kronosnet-1.7/libknet/tests/pckt_test.c kronosnet-1.8/libknet/tests/pckt_test.c
--- kronosnet-1.7/libknet/tests/pckt_test.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/pckt_test.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2015-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2015-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/tests/test-common.c kronosnet-1.8/libknet/tests/test-common.c
--- kronosnet-1.7/libknet/tests/test-common.c	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/libknet/tests/test-common.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
@@ -431,7 +431,7 @@
 	return 0;
 }
 
-int make_local_sockaddr(struct sockaddr_storage *lo, uint16_t offset)
+static int _make_local_sockaddr(struct sockaddr_storage *lo, uint16_t offset, int family)
 {
 	uint32_t port;
 	char portstr[32];
@@ -448,9 +448,22 @@
 	memset(lo, 0, sizeof(struct sockaddr_storage));
 	printf("Using port %u\n", port);
 
+	if (family == AF_INET6) {
+		return knet_strtoaddr("::1", portstr, lo, sizeof(struct sockaddr_storage));
+	}
 	return knet_strtoaddr("127.0.0.1", portstr, lo, sizeof(struct sockaddr_storage));
 }
 
+int make_local_sockaddr(struct sockaddr_storage *lo, uint16_t offset)
+{
+	return _make_local_sockaddr(lo, offset, AF_INET);
+}
+
+int make_local_sockaddr6(struct sockaddr_storage *lo, uint16_t offset)
+{
+	return _make_local_sockaddr(lo, offset, AF_INET6);
+}
+
 int wait_for_host(knet_handle_t knet_h, uint16_t host_id, int seconds, int logfd, FILE *std)
 {
 	int i = 0;
diff -Nru kronosnet-1.7/libknet/tests/test-common.h kronosnet-1.8/libknet/tests/test-common.h
--- kronosnet-1.7/libknet/tests/test-common.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/tests/test-common.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
@@ -68,6 +68,7 @@
 int start_logthread(int logfd, FILE *std);
 int stop_logthread(void);
 int make_local_sockaddr(struct sockaddr_storage *lo, uint16_t offset);
+int make_local_sockaddr6(struct sockaddr_storage *lo, uint16_t offset);
 int wait_for_host(knet_handle_t knet_h, uint16_t host_id, int seconds, int logfd, FILE *std);
 int wait_for_packet(knet_handle_t knet_h, int seconds, int datafd);
 
diff -Nru kronosnet-1.7/libknet/threads_common.c kronosnet-1.8/libknet/threads_common.c
--- kronosnet-1.7/libknet/threads_common.c	2019-01-30 05:49:56.000000000 +0100
+++ kronosnet-1.8/libknet/threads_common.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/threads_common.h kronosnet-1.8/libknet/threads_common.h
--- kronosnet-1.7/libknet/threads_common.h	2019-01-30 05:49:56.000000000 +0100
+++ kronosnet-1.8/libknet/threads_common.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/threads_dsthandler.c kronosnet-1.8/libknet/threads_dsthandler.c
--- kronosnet-1.7/libknet/threads_dsthandler.c	2019-01-30 05:49:56.000000000 +0100
+++ kronosnet-1.8/libknet/threads_dsthandler.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2015-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2015-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/threads_dsthandler.h kronosnet-1.8/libknet/threads_dsthandler.h
--- kronosnet-1.7/libknet/threads_dsthandler.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/threads_dsthandler.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/threads_heartbeat.c kronosnet-1.8/libknet/threads_heartbeat.c
--- kronosnet-1.7/libknet/threads_heartbeat.c	2019-01-30 05:49:56.000000000 +0100
+++ kronosnet-1.8/libknet/threads_heartbeat.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2015-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2015-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
@@ -85,9 +85,12 @@
 		}
 
 retry:
-		len = sendto(dst_link->outsock, outbuf, outlen,
-			MSG_DONTWAIT | MSG_NOSIGNAL, (struct sockaddr *) &dst_link->dst_addr,
-			sizeof(struct sockaddr_storage));
+		if (transport_get_connection_oriented(knet_h, dst_link->transport_type) == TRANSPORT_PROTO_NOT_CONNECTION_ORIENTED) {
+			len = sendto(dst_link->outsock, outbuf, outlen,	MSG_DONTWAIT | MSG_NOSIGNAL,
+				     (struct sockaddr *) &dst_link->dst_addr, sizeof(struct sockaddr_storage));
+		} else {
+			len = sendto(dst_link->outsock, outbuf, outlen,	MSG_DONTWAIT | MSG_NOSIGNAL, NULL, 0);
+		}
 		savederrno = errno;
 
 		dst_link->ping_last = clock_now;
diff -Nru kronosnet-1.7/libknet/threads_heartbeat.h kronosnet-1.8/libknet/threads_heartbeat.h
--- kronosnet-1.7/libknet/threads_heartbeat.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/threads_heartbeat.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/threads_pmtud.c kronosnet-1.8/libknet/threads_pmtud.c
--- kronosnet-1.7/libknet/threads_pmtud.c	2019-01-30 05:49:56.000000000 +0100
+++ kronosnet-1.8/libknet/threads_pmtud.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2015-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2015-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
@@ -172,9 +172,12 @@
 		return -1;
 	}
 retry:
-	len = sendto(dst_link->outsock, outbuf, data_len,
-			MSG_DONTWAIT | MSG_NOSIGNAL, (struct sockaddr *) &dst_link->dst_addr,
-			sizeof(struct sockaddr_storage));
+	if (transport_get_connection_oriented(knet_h, dst_link->transport_type) == TRANSPORT_PROTO_NOT_CONNECTION_ORIENTED) {
+		len = sendto(dst_link->outsock, outbuf, data_len, MSG_DONTWAIT | MSG_NOSIGNAL,
+			     (struct sockaddr *) &dst_link->dst_addr, sizeof(struct sockaddr_storage));
+	} else {
+		len = sendto(dst_link->outsock, outbuf, data_len, MSG_DONTWAIT | MSG_NOSIGNAL, NULL, 0);
+	}
 	savederrno = errno;
 
 	/*
diff -Nru kronosnet-1.7/libknet/threads_pmtud.h kronosnet-1.8/libknet/threads_pmtud.h
--- kronosnet-1.7/libknet/threads_pmtud.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/threads_pmtud.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/threads_rx.c kronosnet-1.8/libknet/threads_rx.c
--- kronosnet-1.7/libknet/threads_rx.c	2019-01-30 05:49:56.000000000 +0100
+++ kronosnet-1.8/libknet/threads_rx.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
@@ -577,9 +577,12 @@
 		}
 
 retry_pong:
-		len = sendto(src_link->outsock, outbuf, outlen, MSG_DONTWAIT | MSG_NOSIGNAL,
-				(struct sockaddr *) &src_link->dst_addr,
-				sizeof(struct sockaddr_storage));
+		if (transport_get_connection_oriented(knet_h, src_link->transport_type) == TRANSPORT_PROTO_NOT_CONNECTION_ORIENTED) {
+			len = sendto(src_link->outsock, outbuf, outlen, MSG_DONTWAIT | MSG_NOSIGNAL,
+				     (struct sockaddr *) &src_link->dst_addr, sizeof(struct sockaddr_storage));
+		} else {
+			len = sendto(src_link->outsock, outbuf, outlen, MSG_DONTWAIT | MSG_NOSIGNAL, NULL, 0);
+		}
 		savederrno = errno;
 		if (len != outlen) {
 			err = transport_tx_sock_error(knet_h, src_link->transport_type, src_link->outsock, len, savederrno);
@@ -670,9 +673,12 @@
 			goto out_pmtud;
 		}
 retry_pmtud:
-		len = sendto(src_link->outsock, outbuf, outlen, MSG_DONTWAIT | MSG_NOSIGNAL,
-				(struct sockaddr *) &src_link->dst_addr,
-				sizeof(struct sockaddr_storage));
+		if (transport_get_connection_oriented(knet_h, src_link->transport_type) == TRANSPORT_PROTO_NOT_CONNECTION_ORIENTED) {
+			len = sendto(src_link->outsock, outbuf, outlen, MSG_DONTWAIT | MSG_NOSIGNAL,
+				     (struct sockaddr *) &src_link->dst_addr, sizeof(struct sockaddr_storage));
+		} else {
+			len = sendto(src_link->outsock, outbuf, outlen, MSG_DONTWAIT | MSG_NOSIGNAL, NULL, 0);
+		}
 		savederrno = errno;
 		if (len != outlen) {
 			err = transport_tx_sock_error(knet_h, src_link->transport_type, src_link->outsock, len, savederrno);
diff -Nru kronosnet-1.7/libknet/threads_rx.h kronosnet-1.8/libknet/threads_rx.h
--- kronosnet-1.7/libknet/threads_rx.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/threads_rx.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/threads_tx.c kronosnet-1.8/libknet/threads_tx.c
--- kronosnet-1.7/libknet/threads_tx.c	2019-01-30 05:49:56.000000000 +0100
+++ kronosnet-1.8/libknet/threads_tx.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
@@ -68,6 +68,7 @@
 		cur = &msg[prev_sent];
 
 		sent_msgs = _sendmmsg(dst_host->link[dst_host->active_links[link_idx]].outsock,
+				      transport_get_connection_oriented(knet_h, dst_host->link[dst_host->active_links[link_idx]].transport_type),
 				      &cur[0], msgs_to_send - prev_sent, MSG_DONTWAIT | MSG_NOSIGNAL);
 		savederrno = errno;
 
diff -Nru kronosnet-1.7/libknet/threads_tx.h kronosnet-1.8/libknet/threads_tx.h
--- kronosnet-1.7/libknet/threads_tx.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/threads_tx.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *          Federico Simoncelli <fsimon@kronosnet.org>
diff -Nru kronosnet-1.7/libknet/transport_common.c kronosnet-1.8/libknet/transport_common.c
--- kronosnet-1.7/libknet/transport_common.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/transport_common.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
@@ -54,12 +54,16 @@
 	return ((i > 0) ? (int)i : err);
 }
 
-int _sendmmsg(int sockfd, struct knet_mmsghdr *msgvec, unsigned int vlen, unsigned int flags)
+int _sendmmsg(int sockfd, int connection_oriented, struct knet_mmsghdr *msgvec, unsigned int vlen, unsigned int flags)
 {
 	int savederrno = 0, err = 0;
 	unsigned int i;
 
 	for (i = 0; i < vlen; i++) {
+		if (connection_oriented == TRANSPORT_PROTO_IS_CONNECTION_ORIENTED) {
+			msgvec[i].msg_hdr.msg_name = NULL;
+			msgvec[i].msg_hdr.msg_namelen = 0;
+		}
 		err = sendmsg(sockfd, &msgvec[i].msg_hdr, flags);
 		savederrno = errno;
 		if (err < 0) {
diff -Nru kronosnet-1.7/libknet/transport_common.h kronosnet-1.8/libknet/transport_common.h
--- kronosnet-1.7/libknet/transport_common.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/transport_common.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
@@ -18,7 +18,7 @@
 int _set_fd_tracker(knet_handle_t knet_h, int sockfd, uint8_t transport, uint8_t data_type, void *data);
 int _is_valid_fd(knet_handle_t knet_h, int sockfd);
 
-int _sendmmsg(int sockfd, struct knet_mmsghdr *msgvec, unsigned int vlen, unsigned int flags);
+int _sendmmsg(int sockfd, int connection_oriented, struct knet_mmsghdr *msgvec, unsigned int vlen, unsigned int flags);
 int _recvmmsg(int sockfd, struct knet_mmsghdr *msgvec, unsigned int vlen, unsigned int flags);
 
 #endif
diff -Nru kronosnet-1.7/libknet/transport_loopback.c kronosnet-1.8/libknet/transport_loopback.c
--- kronosnet-1.7/libknet/transport_loopback.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/transport_loopback.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Christine Caulfield <ccaulfie@redhat.com>
  *
diff -Nru kronosnet-1.7/libknet/transport_loopback.h kronosnet-1.8/libknet/transport_loopback.h
--- kronosnet-1.7/libknet/transport_loopback.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/transport_loopback.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/transports.c kronosnet-1.8/libknet/transports.c
--- kronosnet-1.7/libknet/transports.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/transports.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
@@ -27,14 +27,14 @@
 #include "transport_sctp.h"
 #include "threads_common.h"
 
-#define empty_module 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL },
+#define empty_module 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL },
 
 static knet_transport_ops_t transport_modules_cmd[KNET_MAX_TRANSPORTS] = {
-	{ "LOOPBACK", KNET_TRANSPORT_LOOPBACK, 1, KNET_PMTUD_LOOPBACK_OVERHEAD, loopback_transport_init, loopback_transport_free, loopback_transport_link_set_config, loopback_transport_link_clear_config, loopback_transport_link_dyn_connect, loopback_transport_rx_sock_error, loopback_transport_tx_sock_error, loopback_transport_rx_is_data },
-	{ "UDP", KNET_TRANSPORT_UDP, 1, KNET_PMTUD_UDP_OVERHEAD, udp_transport_init, udp_transport_free, udp_transport_link_set_config, udp_transport_link_clear_config, udp_transport_link_dyn_connect, udp_transport_rx_sock_error, udp_transport_tx_sock_error, udp_transport_rx_is_data },
+	{ "LOOPBACK", KNET_TRANSPORT_LOOPBACK, 1, TRANSPORT_PROTO_NOT_CONNECTION_ORIENTED, KNET_PMTUD_LOOPBACK_OVERHEAD, loopback_transport_init, loopback_transport_free, loopback_transport_link_set_config, loopback_transport_link_clear_config, loopback_transport_link_dyn_connect, loopback_transport_rx_sock_error, loopback_transport_tx_sock_error, loopback_transport_rx_is_data },
+	{ "UDP", KNET_TRANSPORT_UDP, 1, TRANSPORT_PROTO_NOT_CONNECTION_ORIENTED, KNET_PMTUD_UDP_OVERHEAD, udp_transport_init, udp_transport_free, udp_transport_link_set_config, udp_transport_link_clear_config, udp_transport_link_dyn_connect, udp_transport_rx_sock_error, udp_transport_tx_sock_error, udp_transport_rx_is_data },
 	{ "SCTP", KNET_TRANSPORT_SCTP,
 #ifdef HAVE_NETINET_SCTP_H
-				       1, KNET_PMTUD_SCTP_OVERHEAD, sctp_transport_init, sctp_transport_free, sctp_transport_link_set_config, sctp_transport_link_clear_config, sctp_transport_link_dyn_connect, sctp_transport_rx_sock_error, sctp_transport_tx_sock_error, sctp_transport_rx_is_data },
+				       1, TRANSPORT_PROTO_IS_CONNECTION_ORIENTED, KNET_PMTUD_SCTP_OVERHEAD, sctp_transport_init, sctp_transport_free, sctp_transport_link_set_config, sctp_transport_link_clear_config, sctp_transport_link_dyn_connect, sctp_transport_rx_sock_error, sctp_transport_tx_sock_error, sctp_transport_rx_is_data },
 #else
 empty_module
 #endif
@@ -118,6 +118,11 @@
 	return transport_modules_cmd[transport].transport_rx_is_data(knet_h, sockfd, msg);
 }
 
+int transport_get_connection_oriented(knet_handle_t knet_h, uint8_t transport)
+{
+	return transport_modules_cmd[transport].transport_is_connection_oriented;
+}
+
 /*
  * public api
  */
diff -Nru kronosnet-1.7/libknet/transport_sctp.c kronosnet-1.8/libknet/transport_sctp.c
--- kronosnet-1.7/libknet/transport_sctp.c	2019-01-30 05:49:56.000000000 +0100
+++ kronosnet-1.8/libknet/transport_sctp.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Christine Caulfield <ccaulfie@redhat.com>
  *
@@ -1043,8 +1043,7 @@
 
 			link_info = host->link[link_idx].transport_link;
 			if ((link_info) &&
-			    (link_info->listener == info) &&
-			    (host->link[link_idx].status.enabled == 1)) {
+			    (link_info->listener == info)) {
 				found = 1;
 				break;
 			}
diff -Nru kronosnet-1.7/libknet/transport_sctp.h kronosnet-1.8/libknet/transport_sctp.h
--- kronosnet-1.7/libknet/transport_sctp.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/transport_sctp.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libknet/transports.h kronosnet-1.8/libknet/transports.h
--- kronosnet-1.7/libknet/transports.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/transports.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
@@ -18,5 +18,6 @@
 int transport_rx_sock_error(knet_handle_t knet_h, uint8_t transport, int sockfd, int recv_err, int recv_errno);
 int transport_tx_sock_error(knet_handle_t knet_h, uint8_t transport, int sockfd, int recv_err, int recv_errno);
 int transport_rx_is_data(knet_handle_t knet_h, uint8_t transport, int sockfd, struct knet_mmsghdr *msg);
+int transport_get_connection_oriented(knet_handle_t knet_h, uint8_t transport);
 
 #endif
diff -Nru kronosnet-1.7/libknet/transport_udp.c kronosnet-1.8/libknet/transport_udp.c
--- kronosnet-1.7/libknet/transport_udp.c	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/libknet/transport_udp.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Christine Caulfield <ccaulfie@redhat.com>
  *
@@ -186,8 +186,7 @@
 			if (&host->link[link_idx] == kn_link)
 				continue;
 
-			if ((host->link[link_idx].transport_link == info) &&
-			    (host->link[link_idx].status.enabled == 1)) {
+			if (host->link[link_idx].transport_link == info) {
 				found = 1;
 				break;
 			}
diff -Nru kronosnet-1.7/libknet/transport_udp.h kronosnet-1.8/libknet/transport_udp.h
--- kronosnet-1.7/libknet/transport_udp.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libknet/transport_udp.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/internals.c kronosnet-1.8/libnozzle/internals.c
--- kronosnet-1.7/libnozzle/internals.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/internals.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/internals.h kronosnet-1.8/libnozzle/internals.h
--- kronosnet-1.7/libnozzle/internals.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/internals.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/libnozzle.c kronosnet-1.8/libnozzle/libnozzle.c
--- kronosnet-1.7/libnozzle/libnozzle.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/libnozzle.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/libnozzle_exported_syms kronosnet-1.8/libnozzle/libnozzle_exported_syms
--- kronosnet-1.7/libnozzle/libnozzle_exported_syms	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/libnozzle_exported_syms	2019-03-27 04:52:38.000000000 +0100
@@ -1,6 +1,6 @@
 # Version and symbol export for libnozzle.so
 #
-# Copyright (C) 2011-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2011-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/libnozzle/libnozzle.h kronosnet-1.8/libnozzle/libnozzle.h
--- kronosnet-1.7/libnozzle/libnozzle.h	2019-01-30 05:49:56.000000000 +0100
+++ kronosnet-1.8/libnozzle/libnozzle.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
@@ -16,7 +16,7 @@
  *
  * @file libnozzle.h
  * @brief tap interfaces management API include file
- * @copyright Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * @copyright Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * nozzle is a commodity library to manage tap (ethernet) interfaces
  */
diff -Nru kronosnet-1.7/libnozzle/libnozzle.pc.in kronosnet-1.8/libnozzle/libnozzle.pc.in
--- kronosnet-1.7/libnozzle/libnozzle.pc.in	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/libnozzle.pc.in	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/libnozzle/Makefile.am kronosnet-1.8/libnozzle/Makefile.am
--- kronosnet-1.7/libnozzle/Makefile.am	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/Makefile.am	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/libnozzle/Makefile.in kronosnet-1.8/libnozzle/Makefile.in
--- kronosnet-1.7/libnozzle/Makefile.in	2019-01-30 05:50:33.000000000 +0100
+++ kronosnet-1.8/libnozzle/Makefile.in	2019-03-27 04:55:01.000000000 +0100
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 #
-# Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -23,7 +23,7 @@
 #
 
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -367,6 +367,7 @@
 SOURCE_EPOCH = @SOURCE_EPOCH@
 STRIP = @STRIP@
 SYSTEMDDIR = @SYSTEMDDIR@
+TESTDIR = @TESTDIR@
 UTC_DATE_AT = @UTC_DATE_AT@
 VALGRIND_EXEC = @VALGRIND_EXEC@
 VERSION = @VERSION@
diff -Nru kronosnet-1.7/libnozzle/tests/api_nozzle_add_ip.c kronosnet-1.8/libnozzle/tests/api_nozzle_add_ip.c
--- kronosnet-1.7/libnozzle/tests/api_nozzle_add_ip.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/api_nozzle_add_ip.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/tests/api_nozzle_close.c kronosnet-1.8/libnozzle/tests/api_nozzle_close.c
--- kronosnet-1.7/libnozzle/tests/api_nozzle_close.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/api_nozzle_close.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2018-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/tests/api_nozzle_del_ip.c kronosnet-1.8/libnozzle/tests/api_nozzle_del_ip.c
--- kronosnet-1.7/libnozzle/tests/api_nozzle_del_ip.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/api_nozzle_del_ip.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/tests/api_nozzle_get_fd.c kronosnet-1.8/libnozzle/tests/api_nozzle_get_fd.c
--- kronosnet-1.7/libnozzle/tests/api_nozzle_get_fd.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/api_nozzle_get_fd.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2018-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/tests/api_nozzle_get_handle_by_name.c kronosnet-1.8/libnozzle/tests/api_nozzle_get_handle_by_name.c
--- kronosnet-1.7/libnozzle/tests/api_nozzle_get_handle_by_name.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/api_nozzle_get_handle_by_name.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2018-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/tests/api_nozzle_get_ips.c kronosnet-1.8/libnozzle/tests/api_nozzle_get_ips.c
--- kronosnet-1.7/libnozzle/tests/api_nozzle_get_ips.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/api_nozzle_get_ips.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2018-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/tests/api_nozzle_get_mac.c kronosnet-1.8/libnozzle/tests/api_nozzle_get_mac.c
--- kronosnet-1.7/libnozzle/tests/api_nozzle_get_mac.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/api_nozzle_get_mac.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2018-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/tests/api_nozzle_get_mtu.c kronosnet-1.8/libnozzle/tests/api_nozzle_get_mtu.c
--- kronosnet-1.7/libnozzle/tests/api_nozzle_get_mtu.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/api_nozzle_get_mtu.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2018-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/tests/api_nozzle_get_name_by_handle.c kronosnet-1.8/libnozzle/tests/api_nozzle_get_name_by_handle.c
--- kronosnet-1.7/libnozzle/tests/api_nozzle_get_name_by_handle.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/api_nozzle_get_name_by_handle.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2018-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/tests/api_nozzle_open.c kronosnet-1.8/libnozzle/tests/api_nozzle_open.c
--- kronosnet-1.7/libnozzle/tests/api_nozzle_open.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/api_nozzle_open.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2018-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/tests/api_nozzle_run_updown.c kronosnet-1.8/libnozzle/tests/api_nozzle_run_updown.c
--- kronosnet-1.7/libnozzle/tests/api_nozzle_run_updown.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/api_nozzle_run_updown.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2018-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/tests/api_nozzle_set_down.c kronosnet-1.8/libnozzle/tests/api_nozzle_set_down.c
--- kronosnet-1.7/libnozzle/tests/api_nozzle_set_down.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/api_nozzle_set_down.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2018-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/tests/api_nozzle_set_mac.c kronosnet-1.8/libnozzle/tests/api_nozzle_set_mac.c
--- kronosnet-1.7/libnozzle/tests/api_nozzle_set_mac.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/api_nozzle_set_mac.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2018-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/tests/api_nozzle_set_mtu.c kronosnet-1.8/libnozzle/tests/api_nozzle_set_mtu.c
--- kronosnet-1.7/libnozzle/tests/api_nozzle_set_mtu.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/api_nozzle_set_mtu.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2018-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/tests/api_nozzle_set_up.c kronosnet-1.8/libnozzle/tests/api_nozzle_set_up.c
--- kronosnet-1.7/libnozzle/tests/api_nozzle_set_up.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/api_nozzle_set_up.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2018-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/tests/api-test-coverage kronosnet-1.8/libnozzle/tests/api-test-coverage
--- kronosnet-1.7/libnozzle/tests/api-test-coverage	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/api-test-coverage	2019-03-27 04:52:38.000000000 +0100
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/libnozzle/tests/int_execute_bin_sh_command.c kronosnet-1.8/libnozzle/tests/int_execute_bin_sh_command.c
--- kronosnet-1.7/libnozzle/tests/int_execute_bin_sh_command.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/int_execute_bin_sh_command.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2018-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/tests/Makefile.am kronosnet-1.8/libnozzle/tests/Makefile.am
--- kronosnet-1.7/libnozzle/tests/Makefile.am	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/Makefile.am	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -58,6 +58,11 @@
 
 TESTS			= $(check_PROGRAMS)
 
+if INSTALL_TESTS
+testsuitedir		= $(TESTDIR)
+testsuite_PROGRAMS	= $(noinst_PROGRAMS)
+endif
+
 check-local: check-api-test-coverage
 
 check-api-test-coverage:
diff -Nru kronosnet-1.7/libnozzle/tests/Makefile.in kronosnet-1.8/libnozzle/tests/Makefile.in
--- kronosnet-1.7/libnozzle/tests/Makefile.in	2019-01-30 05:50:33.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/Makefile.in	2019-03-27 04:55:01.000000000 +0100
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 #
-# Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -23,7 +23,7 @@
 #
 
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -146,7 +146,8 @@
 @BUILD_LIBNOZZLE_TRUE@	api_nozzle_get_ips_test$(EXEEXT)
 @BUILD_LIBNOZZLE_TRUE@am__EXEEXT_2 = int_execute_bin_sh_command_test$(EXEEXT)
 am__EXEEXT_3 =
-PROGRAMS = $(noinst_PROGRAMS)
+am__installdirs = "$(DESTDIR)$(testsuitedir)"
+PROGRAMS = $(noinst_PROGRAMS) $(testsuite_PROGRAMS)
 am__api_nozzle_add_ip_test_SOURCES_DIST = api_nozzle_add_ip.c \
 	test-common.c ../internals.c
 am__dirstamp = $(am__leading_dot)dirstamp
@@ -684,6 +685,7 @@
 SOURCE_EPOCH = @SOURCE_EPOCH@
 STRIP = @STRIP@
 SYSTEMDDIR = @SYSTEMDDIR@
+TESTDIR = @TESTDIR@
 UTC_DATE_AT = @UTC_DATE_AT@
 VALGRIND_EXEC = @VALGRIND_EXEC@
 VERSION = @VERSION@
@@ -808,6 +810,8 @@
 @BUILD_LIBNOZZLE_TRUE@			  api-test-coverage
 
 @BUILD_LIBNOZZLE_TRUE@TESTS = $(check_PROGRAMS)
+@BUILD_LIBNOZZLE_TRUE@@INSTALL_TESTS_TRUE@testsuitedir = $(TESTDIR)
+@BUILD_LIBNOZZLE_TRUE@@INSTALL_TESTS_TRUE@testsuite_PROGRAMS = $(noinst_PROGRAMS)
 @BUILD_LIBNOZZLE_TRUE@AM_CPPFLAGS = -I$(top_srcdir)/libnozzle -DABSBUILDDIR=\"$(abs_builddir)\" -DABSSRCDIR=\"$(abs_srcdir)\"
 @BUILD_LIBNOZZLE_TRUE@api_nozzle_open_test_SOURCES = api_nozzle_open.c \
 @BUILD_LIBNOZZLE_TRUE@			       test-common.c
@@ -916,6 +920,55 @@
 	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
 	echo " rm -f" $$list; \
 	rm -f $$list
+install-testsuitePROGRAMS: $(testsuite_PROGRAMS)
+	@$(NORMAL_INSTALL)
+	@list='$(testsuite_PROGRAMS)'; test -n "$(testsuitedir)" || list=; \
+	if test -n "$$list"; then \
+	  echo " $(MKDIR_P) '$(DESTDIR)$(testsuitedir)'"; \
+	  $(MKDIR_P) "$(DESTDIR)$(testsuitedir)" || exit 1; \
+	fi; \
+	for p in $$list; do echo "$$p $$p"; done | \
+	sed 's/$(EXEEXT)$$//' | \
+	while read p p1; do if test -f $$p \
+	 || test -f $$p1 \
+	  ; then echo "$$p"; echo "$$p"; else :; fi; \
+	done | \
+	sed -e 'p;s,.*/,,;n;h' \
+	    -e 's|.*|.|' \
+	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
+	sed 'N;N;N;s,\n, ,g' | \
+	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
+	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
+	    else { print "f", $$3 "/" $$4, $$1; } } \
+	  END { for (d in files) print "f", d, files[d] }' | \
+	while read type dir files; do \
+	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+	    test -z "$$files" || { \
+	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(testsuitedir)$$dir'"; \
+	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(testsuitedir)$$dir" || exit $$?; \
+	    } \
+	; done
+
+uninstall-testsuitePROGRAMS:
+	@$(NORMAL_UNINSTALL)
+	@list='$(testsuite_PROGRAMS)'; test -n "$(testsuitedir)" || list=; \
+	files=`for p in $$list; do echo "$$p"; done | \
+	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
+	      -e 's/$$/$(EXEEXT)/' \
+	`; \
+	test -n "$$list" || exit 0; \
+	echo " ( cd '$(DESTDIR)$(testsuitedir)' && rm -f" $$files ")"; \
+	cd "$(DESTDIR)$(testsuitedir)" && rm -f $$files
+
+clean-testsuitePROGRAMS:
+	@list='$(testsuite_PROGRAMS)'; test -n "$$list" || exit 0; \
+	echo " rm -f" $$list; \
+	rm -f $$list || exit $$?; \
+	test -n "$(EXEEXT)" || exit 0; \
+	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
+	echo " rm -f" $$list; \
+	rm -f $$list
 ../$(am__dirstamp):
 	@$(MKDIR_P) ..
 	@: > ../$(am__dirstamp)
@@ -1411,6 +1464,9 @@
 check: check-am
 all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(HEADERS)
 installdirs:
+	for dir in "$(DESTDIR)$(testsuitedir)"; do \
+	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+	done
 install: install-am
 install-exec: install-exec-am
 install-data: install-data-am
@@ -1450,7 +1506,7 @@
 clean: clean-am
 
 clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
-	clean-noinstPROGRAMS mostlyclean-am
+	clean-noinstPROGRAMS clean-testsuitePROGRAMS mostlyclean-am
 
 distclean: distclean-am
 		-rm -f ../$(DEPDIR)/internals.Po
@@ -1487,7 +1543,7 @@
 
 info-am:
 
-install-data-am:
+install-data-am: install-testsuitePROGRAMS
 
 install-dvi: install-dvi-am
 
@@ -1550,24 +1606,25 @@
 
 ps-am:
 
-uninstall-am:
+uninstall-am: uninstall-testsuitePROGRAMS
 
 .MAKE: check-am install-am install-strip
 
 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-TESTS \
 	check-am check-local clean clean-checkPROGRAMS clean-generic \
-	clean-libtool clean-noinstPROGRAMS cscopelist-am ctags \
-	ctags-am distclean distclean-compile distclean-generic \
-	distclean-libtool distclean-tags distdir dvi dvi-am html \
-	html-am info info-am install install-am install-data \
-	install-data-am install-dvi install-dvi-am install-exec \
-	install-exec-am install-html install-html-am install-info \
-	install-info-am install-man install-pdf install-pdf-am \
-	install-ps install-ps-am install-strip installcheck \
-	installcheck-am installdirs maintainer-clean \
-	maintainer-clean-generic mostlyclean mostlyclean-compile \
-	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-	recheck tags tags-am uninstall uninstall-am
+	clean-libtool clean-noinstPROGRAMS clean-testsuitePROGRAMS \
+	cscopelist-am ctags ctags-am distclean distclean-compile \
+	distclean-generic distclean-libtool distclean-tags distdir dvi \
+	dvi-am html html-am info info-am install install-am \
+	install-data install-data-am install-dvi install-dvi-am \
+	install-exec install-exec-am install-html install-html-am \
+	install-info install-info-am install-man install-pdf \
+	install-pdf-am install-ps install-ps-am install-strip \
+	install-testsuitePROGRAMS installcheck installcheck-am \
+	installdirs maintainer-clean maintainer-clean-generic \
+	mostlyclean mostlyclean-compile mostlyclean-generic \
+	mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \
+	uninstall uninstall-am uninstall-testsuitePROGRAMS
 
 .PRECIOUS: Makefile
 
diff -Nru kronosnet-1.7/libnozzle/tests/nozzle_run_updown_exit_false kronosnet-1.8/libnozzle/tests/nozzle_run_updown_exit_false
--- kronosnet-1.7/libnozzle/tests/nozzle_run_updown_exit_false	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/nozzle_run_updown_exit_false	2019-03-27 04:52:38.000000000 +0100
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 #
-# Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/libnozzle/tests/nozzle_run_updown_exit_true kronosnet-1.8/libnozzle/tests/nozzle_run_updown_exit_true
--- kronosnet-1.7/libnozzle/tests/nozzle_run_updown_exit_true	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/nozzle_run_updown_exit_true	2019-03-27 04:52:38.000000000 +0100
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 #
-# Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/libnozzle/tests/test-common.c kronosnet-1.8/libnozzle/tests/test-common.c
--- kronosnet-1.7/libnozzle/tests/test-common.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/test-common.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2018-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/libnozzle/tests/test-common.h kronosnet-1.8/libnozzle/tests/test-common.h
--- kronosnet-1.7/libnozzle/tests/test-common.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/libnozzle/tests/test-common.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2018-2019 Red Hat, Inc.  All rights reserved.
  *
  * Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/Makefile.am kronosnet-1.8/Makefile.am
--- kronosnet-1.7/Makefile.am	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/Makefile.am	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -168,6 +168,11 @@
 else
 	sed -i -e "s#@buildman@#bcond_with#g" $@-t
 endif
+if INSTALL_TESTS
+	sed -i -e "s#@installtests@#bcond_without#g" $@-t
+else
+	sed -i -e "s#@installtests@#bcond_with#g" $@-t
+endif
 	sed -i -e "s#@defaultadmgroup@#$(DEFAULTADMGROUP)#g" $@-t
 	chmod a-w $@-t
 	mv $@-t $@
diff -Nru kronosnet-1.7/Makefile.in kronosnet-1.8/Makefile.in
--- kronosnet-1.7/Makefile.in	2019-01-30 05:50:32.000000000 +0100
+++ kronosnet-1.8/Makefile.in	2019-03-27 04:55:01.000000000 +0100
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 #
-# Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -23,7 +23,7 @@
 #
 
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -341,6 +341,7 @@
 SOURCE_EPOCH = @SOURCE_EPOCH@
 STRIP = @STRIP@
 SYSTEMDDIR = @SYSTEMDDIR@
+TESTDIR = @TESTDIR@
 UTC_DATE_AT = @UTC_DATE_AT@
 VALGRIND_EXEC = @VALGRIND_EXEC@
 VERSION = @VERSION@
@@ -1072,6 +1073,8 @@
 @BUILD_RPM_DEBUGINFO_FALSE@	sed -i -e "s#@rpmdebuginfo@#bcond_with#g" $@-t
 @BUILD_MAN_TRUE@	sed -i -e "s#@buildman@#bcond_without#g" $@-t
 @BUILD_MAN_FALSE@	sed -i -e "s#@buildman@#bcond_with#g" $@-t
+@INSTALL_TESTS_TRUE@	sed -i -e "s#@installtests@#bcond_without#g" $@-t
+@INSTALL_TESTS_FALSE@	sed -i -e "s#@installtests@#bcond_with#g" $@-t
 	sed -i -e "s#@defaultadmgroup@#$(DEFAULTADMGROUP)#g" $@-t
 	chmod a-w $@-t
 	mv $@-t $@
diff -Nru kronosnet-1.7/man/api-to-man-page-coverage kronosnet-1.8/man/api-to-man-page-coverage
--- kronosnet-1.7/man/api-to-man-page-coverage	1970-01-01 01:00:00.000000000 +0100
+++ kronosnet-1.8/man/api-to-man-page-coverage	2019-03-27 04:52:38.000000000 +0100
@@ -0,0 +1,33 @@
+#!/bin/sh
+#
+# Copyright (C) 2019 Red Hat, Inc.  All rights reserved.
+#
+# Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
+#
+# This software licensed under GPL-2.0+, LGPL-2.0+
+#
+
+err=0
+srcdir="$1"
+target="$2"
+
+headerapicalls="$(grep ${target}_ "$srcdir"/lib${target}/lib${target}.h | grep -v "^ \*" | grep -v ^struct | grep -v "^[[:space:]]" | grep -v typedef | sed -e 's/(.*//g' -e 's/^const //g' -e 's/\*//g' | awk '{print $2}')"
+manpages="$(grep ${target}_ "$srcdir"/man/Makefile.am |grep -v man3 |grep -v xml | sed -e 's/\.3.*//g')"
+
+echo "Checking for symbols in header file NOT distributed as manpages"
+
+for i in $headerapicalls; do
+	found=0
+	for x in $manpages; do
+		if [ "$x" = "$i" ]; then
+			found=1
+			break;
+		fi
+	done
+	if [ "$found" = 0 ]; then
+		echo "API man page $i not found not found in $srcdir/man/Makefile.am"
+		err=1
+	fi
+done
+
+exit $err
diff -Nru kronosnet-1.7/man/Doxyfile-knet.in kronosnet-1.8/man/Doxyfile-knet.in
--- kronosnet-1.7/man/Doxyfile-knet.in	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/man/Doxyfile-knet.in	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #         Christine Caulfield <ccaulfie@redhat.com>
diff -Nru kronosnet-1.7/man/Doxyfile-nozzle.in kronosnet-1.8/man/Doxyfile-nozzle.in
--- kronosnet-1.7/man/Doxyfile-nozzle.in	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/man/Doxyfile-nozzle.in	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #         Christine Caulfield <ccaulfie@redhat.com>
diff -Nru kronosnet-1.7/man/doxyxml.c kronosnet-1.8/man/doxyxml.c
--- kronosnet-1.7/man/doxyxml.c	2019-01-04 08:12:47.000000000 +0100
+++ kronosnet-1.8/man/doxyxml.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2018-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Christine Caulfield <ccaulfie@redhat.com>
  *
@@ -61,6 +61,7 @@
 };
 
 struct struct_info {
+	enum {STRUCTINFO_STRUCT, STRUCTINFO_ENUM} kind;
 	char *structname;
 	struct qb_list_head params_list; /* our params */
 	struct qb_list_head list;
@@ -245,6 +246,18 @@
 	return strdup(buffer);
 }
 
+static void read_structname(xmlNode *cur_node, void *arg)
+{
+	struct struct_info *si=arg;
+	xmlNode *this_tag;
+
+	for (this_tag = cur_node->children; this_tag; this_tag = this_tag->next) {
+		if (strcmp((char*)this_tag->name, "compoundname") == 0) {
+			si->structname = strdup((char*)this_tag->children->content);
+		}
+	}
+}
+
 /* Called from traverse_node() */
 static void read_struct(xmlNode *cur_node, void *arg)
 {
@@ -272,7 +285,7 @@
 		pi = malloc(sizeof(struct param_info));
 		if (pi) {
 			snprintf(fullname, sizeof(fullname), "%s%s", name, args);
-			pi->paramtype = strdup(type);
+			pi->paramtype = type?strdup(type):strdup("");
 			pi->paramname = strdup(fullname);
 			pi->paramdesc = NULL;
 			qb_list_add_tail(&pi->list, &si->params_list);
@@ -304,9 +317,10 @@
 
 	si = malloc(sizeof(struct struct_info));
 	if (si) {
+		si->kind = STRUCTINFO_STRUCT;
 		qb_list_init(&si->params_list);
-		si->structname = strdup(name);
 		traverse_node(rootdoc, "memberdef", read_struct, si);
+		traverse_node(rootdoc, "compounddef", read_structname, si);
 		ret = 0;
 		qb_map_put(structures_map, refid, si);
 	}
@@ -315,12 +329,13 @@
 	return ret;
 }
 
-/* Reformat pointer params so they look nicer */
+
 static void print_param(FILE *manfile, struct param_info *pi, int field_width, int bold, const char *delimiter)
 {
 	char asterisk = ' ';
 	char *type = pi->paramtype;
 
+	/* Reformat pointer params so they look nicer */
 	if (pi->paramtype[strlen(pi->paramtype)-1] == '*') {
 		asterisk='*';
 		type = strdup(pi->paramtype);
@@ -359,7 +374,13 @@
 			}
 		}
 
-		fprintf(manfile, "struct %s {\n", si->structname);
+		if (si->kind == STRUCTINFO_STRUCT) {
+			fprintf(manfile, "struct %s {\n", si->structname);
+		} else if (si->kind == STRUCTINFO_ENUM) {
+			fprintf(manfile, "enum %s {\n", si->structname);
+		} else {
+			fprintf(manfile, "%s {\n", si->structname);
+		}
 
 		qb_list_for_each(iter, &si->params_list) {
 			pi = qb_list_entry(iter, struct param_info, list);
@@ -393,7 +414,8 @@
 }
 
 /* The text output is VERY basic and just a check that it's working really */
-static void print_text(char *name, char *def, char *brief, char *args, char *detailed, struct qb_list_head *param_list, char *returntext)
+static void print_text(char *name, char *def, char *brief, char *args, char *detailed,
+		       struct qb_list_head *param_list, char *returntext)
 {
 	printf(" ------------------ %s --------------------\n", name);
 	printf("NAME\n");
@@ -430,7 +452,8 @@
 	}
 }
 
-static void print_manpage(char *name, char *def, char *brief, char *args, char *detailed, struct qb_list_head *param_map, char *returntext)
+static void print_manpage(char *name, char *def, char *brief, char *args, char *detailed,
+			  struct qb_list_head *param_map, char *returntext)
 {
 	char manfilename[PATH_MAX];
 	char gendate[64];
@@ -640,6 +663,41 @@
 	}
 }
 
+/* Same as traverse_members, but to collect enums. The behave like structures for,
+   but, for some reason, are in the main XML file rather than their own */
+static void collect_enums(xmlNode *cur_node, void *arg)
+{
+	xmlNode *this_tag;
+	struct struct_info *si;
+	char *kind;
+	char *refid = NULL;
+	char *name = NULL;
+
+	if (cur_node->name && strcmp((char *)cur_node->name, "memberdef") == 0) {
+
+		kind = get_attr(cur_node, "kind");
+		if (kind && strcmp(kind, "enum") == 0) {
+			refid = get_attr(cur_node, "id");
+
+			for (this_tag = cur_node->children; this_tag; this_tag = this_tag->next) {
+				if (this_tag->type == XML_ELEMENT_NODE && strcmp((char *)this_tag->name, "name") == 0) {
+					name = strdup((char *)this_tag->children->content);
+				}
+			}
+
+			si = malloc(sizeof(struct struct_info));
+			if (si) {
+				si->kind = STRUCTINFO_ENUM;
+				qb_list_init(&si->params_list);
+				si->structname = strdup(name);
+				traverse_node(cur_node, "enumvalue", read_struct, si);
+				qb_map_put(structures_map, refid, si);
+			}
+
+		}
+
+	}
+}
 
 static void traverse_members(xmlNode *cur_node, void *arg)
 {
@@ -698,11 +756,14 @@
 			}
 		}
 
-		if (kind && strcmp(kind, "typedef") == 0) {
-			/* Collect typedefs? */
-		}
-
 		if (kind && strcmp(kind, "function") == 0) {
+
+			/* Make sure function has a doxygen description */
+			if (!detailed) {
+				fprintf(stderr, "No doxygen description for function '%s' - please fix this\n", name);
+				exit(1);
+			}
+
 			if (print_man) {
 				print_manpage(name, def, brief, args, detailed, &params_list, returntext);
 			}
@@ -849,6 +910,9 @@
 	/* Collect functions */
 	traverse_node(rootdoc, "memberdef", collect_functions, NULL);
 
+	/* Collect enums */
+	traverse_node(rootdoc, "memberdef", collect_enums, NULL);
+
 	/* print pages */
 	traverse_node(rootdoc, "memberdef", traverse_members, NULL);
 
diff -Nru kronosnet-1.7/man/knet-keygen.8 kronosnet-1.8/man/knet-keygen.8
--- kronosnet-1.7/man/knet-keygen.8	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/man/knet-keygen.8	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 .\"/*
-.\" * Copyright (C) 2012-2018 Red Hat, Inc.
+.\" * Copyright (C) 2012-2019 Red Hat, Inc.
 .\" *
 .\" * All rights reserved.
 .\" *
diff -Nru kronosnet-1.7/man/kronosnetd.8 kronosnet-1.8/man/kronosnetd.8
--- kronosnet-1.7/man/kronosnetd.8	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/man/kronosnetd.8	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 .\"/*
-.\" * Copyright (C) 2012-2018 Red Hat, Inc.
+.\" * Copyright (C) 2012-2019 Red Hat, Inc.
 .\" *
 .\" * All rights reserved.
 .\" *
diff -Nru kronosnet-1.7/man/Makefile.am kronosnet-1.8/man/Makefile.am
--- kronosnet-1.7/man/Makefile.am	2019-01-30 05:49:56.000000000 +0100
+++ kronosnet-1.8/man/Makefile.am	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
 #
 # Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #          Federico Simoncelli <fsimon@kronosnet.org>
@@ -11,7 +11,9 @@
 
 include $(top_srcdir)/build-aux/check.mk
 
-EXTRA_DIST	= kronosnetd.8 knet-keygen.8
+EXTRA_DIST	= \
+		  kronosnetd.8 knet-keygen.8 \
+		  api-to-man-page-coverage
 
 # Avoid Automake warnings about overriding these user variables.
 # Programs in this directory are used during the build only.
@@ -120,13 +122,13 @@
 
 $(MANS): doxyfile-knet.stamp doxyfile-nozzle.stamp
 
-doxyfile-knet.stamp: $(builddir)/doxyxml Doxyfile-knet $(top_srcdir)/libknet/libknet.h
+doxyfile-knet.stamp: $(noinst_PROGRAMS) Doxyfile-knet $(top_srcdir)/libknet/libknet.h
 	$(DOXYGEN) Doxyfile-knet
 	$(builddir)/doxyxml -m -P -o $(builddir) -s 3 -p @PACKAGE_NAME@ -H "Kronosnet Programmer's Manual" \
 		$$($(UTC_DATE_AT)$(SOURCE_EPOCH) +"-D %F -Y %Y") -d $(builddir)/xml-knet/ libknet_8h.xml
 	touch doxyfile-knet.stamp
 
-doxyfile-nozzle.stamp: $(builddir)/doxyxml Doxyfile-nozzle $(top_srcdir)/libnozzle/libnozzle.h
+doxyfile-nozzle.stamp: $(noinst_PROGRAMS) Doxyfile-nozzle $(top_srcdir)/libnozzle/libnozzle.h
 if BUILD_LIBNOZZLE
 	$(DOXYGEN) Doxyfile-nozzle
 	$(builddir)/doxyxml -m -P -o $(builddir) -s 3 -p @PACKAGE_NAME@ -H "Kronosnet Programmer's Manual" \
@@ -134,6 +136,18 @@
 endif
 	touch doxyfile-nozzle.stamp
 
+noinst_SCRIPTS	= api-to-man-page-coverage
+
+check-local: check-api-to-man-page-coverage-libknet check-api-to-man-page-coverage-libnozzle
+
+check-api-to-man-page-coverage-libnozzle:
+if BUILD_LIBNOZZLE
+	$(srcdir)/api-to-man-page-coverage $(top_srcdir) nozzle
+endif
+
+check-api-to-man-page-coverage-libknet:
+	$(srcdir)/api-to-man-page-coverage $(top_srcdir) knet
+
 endif
 
 clean-local:
diff -Nru kronosnet-1.7/man/Makefile.in kronosnet-1.8/man/Makefile.in
--- kronosnet-1.7/man/Makefile.in	2019-01-30 05:50:33.000000000 +0100
+++ kronosnet-1.8/man/Makefile.in	2019-03-27 04:55:01.000000000 +0100
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 #
-# Copyright (C) 2017-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2017-2019 Red Hat, Inc.  All rights reserved.
 #
 # Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #          Federico Simoncelli <fsimon@kronosnet.org>
@@ -24,13 +24,14 @@
 #
 
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
 # This software licensed under GPL-2.0+, LGPL-2.0+
 #
 
+
 VPATH = @srcdir@
 am__is_gnu_make = { \
   if test -z '$(MAKELEVEL)'; then \
@@ -136,6 +137,7 @@
 doxyxml_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(doxyxml_CFLAGS) \
 	$(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+SCRIPTS = $(noinst_SCRIPTS)
 AM_V_P = $(am__v_P_@AM_V@)
 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
 am__v_P_0 = false
@@ -318,6 +320,7 @@
 SOURCE_EPOCH = @SOURCE_EPOCH@
 STRIP = @STRIP@
 SYSTEMDDIR = @SYSTEMDDIR@
+TESTDIR = @TESTDIR@
 UTC_DATE_AT = @UTC_DATE_AT@
 VALGRIND_EXEC = @VALGRIND_EXEC@
 VERSION = @VERSION@
@@ -408,7 +411,10 @@
 VALGRIND = $(VALGRIND_EXEC) -q --error-exitcode=127 --gen-suppressions=all
 MEMCHECK = $(VALGRIND) --track-fds=yes --leak-check=full --alignment=16 --suppressions=$(abs_top_srcdir)/build-aux/knet_valgrind_memcheck.supp
 HELGRIND = $(VALGRIND) --tool=helgrind --suppressions=$(abs_top_srcdir)/build-aux/knet_valgrind_helgrind.supp
-EXTRA_DIST = kronosnetd.8 knet-keygen.8
+EXTRA_DIST = \
+		  kronosnetd.8 knet-keygen.8 \
+		  api-to-man-page-coverage
+
 
 # Avoid Automake warnings about overriding these user variables.
 # Programs in this directory are used during the build only.
@@ -498,6 +504,7 @@
 @BUILD_LIBNOZZLE_TRUE@@BUILD_MAN_TRUE@		nozzle_set_up.3
 
 @BUILD_MAN_TRUE@man3_MANS = $(knet_man3_MANS) $(nozzle_man3_MANS)
+@BUILD_MAN_TRUE@noinst_SCRIPTS = api-to-man-page-coverage
 all: all-am
 
 .SUFFIXES:
@@ -775,9 +782,11 @@
 	    || exit 1; \
 	  fi; \
 	done
+@BUILD_MAN_FALSE@check-local:
 check-am: all-am
+	$(MAKE) $(AM_MAKEFLAGS) check-local
 check: check-am
-all-am: Makefile $(PROGRAMS) $(MANS)
+all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS)
 installdirs:
 	for dir in "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man8dir)"; do \
 	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
@@ -886,22 +895,23 @@
 
 uninstall-man: uninstall-man3 uninstall-man8
 
-.MAKE: install-am install-strip
+.MAKE: check-am install-am install-strip
 
-.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
-	clean-generic clean-libtool clean-local clean-noinstPROGRAMS \
-	cscopelist-am ctags ctags-am distclean distclean-compile \
-	distclean-generic distclean-libtool distclean-tags distdir dvi \
-	dvi-am html html-am info info-am install install-am \
-	install-data install-data-am install-dvi install-dvi-am \
-	install-exec install-exec-am install-html install-html-am \
-	install-info install-info-am install-man install-man3 \
-	install-man8 install-pdf install-pdf-am install-ps \
-	install-ps-am install-strip installcheck installcheck-am \
-	installdirs maintainer-clean maintainer-clean-generic \
-	mostlyclean mostlyclean-compile mostlyclean-generic \
-	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
-	uninstall-am uninstall-man uninstall-man3 uninstall-man8
+.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am \
+	check-local clean clean-generic clean-libtool clean-local \
+	clean-noinstPROGRAMS cscopelist-am ctags ctags-am distclean \
+	distclean-compile distclean-generic distclean-libtool \
+	distclean-tags distdir dvi dvi-am html html-am info info-am \
+	install install-am install-data install-data-am install-dvi \
+	install-dvi-am install-exec install-exec-am install-html \
+	install-html-am install-info install-info-am install-man \
+	install-man3 install-man8 install-pdf install-pdf-am \
+	install-ps install-ps-am install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+	tags tags-am uninstall uninstall-am uninstall-man \
+	uninstall-man3 uninstall-man8
 
 .PRECIOUS: Makefile
 
@@ -918,18 +928,26 @@
 
 @BUILD_MAN_TRUE@$(MANS): doxyfile-knet.stamp doxyfile-nozzle.stamp
 
-@BUILD_MAN_TRUE@doxyfile-knet.stamp: $(builddir)/doxyxml Doxyfile-knet $(top_srcdir)/libknet/libknet.h
+@BUILD_MAN_TRUE@doxyfile-knet.stamp: $(noinst_PROGRAMS) Doxyfile-knet $(top_srcdir)/libknet/libknet.h
 @BUILD_MAN_TRUE@	$(DOXYGEN) Doxyfile-knet
 @BUILD_MAN_TRUE@	$(builddir)/doxyxml -m -P -o $(builddir) -s 3 -p @PACKAGE_NAME@ -H "Kronosnet Programmer's Manual" \
 @BUILD_MAN_TRUE@		$$($(UTC_DATE_AT)$(SOURCE_EPOCH) +"-D %F -Y %Y") -d $(builddir)/xml-knet/ libknet_8h.xml
 @BUILD_MAN_TRUE@	touch doxyfile-knet.stamp
 
-@BUILD_MAN_TRUE@doxyfile-nozzle.stamp: $(builddir)/doxyxml Doxyfile-nozzle $(top_srcdir)/libnozzle/libnozzle.h
+@BUILD_MAN_TRUE@doxyfile-nozzle.stamp: $(noinst_PROGRAMS) Doxyfile-nozzle $(top_srcdir)/libnozzle/libnozzle.h
 @BUILD_LIBNOZZLE_TRUE@@BUILD_MAN_TRUE@	$(DOXYGEN) Doxyfile-nozzle
 @BUILD_LIBNOZZLE_TRUE@@BUILD_MAN_TRUE@	$(builddir)/doxyxml -m -P -o $(builddir) -s 3 -p @PACKAGE_NAME@ -H "Kronosnet Programmer's Manual" \
 @BUILD_LIBNOZZLE_TRUE@@BUILD_MAN_TRUE@		$$($(UTC_DATE_AT)$(SOURCE_EPOCH) +"-D %F -Y %Y") -d $(builddir)/xml-nozzle/ libnozzle_8h.xml
 @BUILD_MAN_TRUE@	touch doxyfile-nozzle.stamp
 
+@BUILD_MAN_TRUE@check-local: check-api-to-man-page-coverage-libknet check-api-to-man-page-coverage-libnozzle
+
+@BUILD_MAN_TRUE@check-api-to-man-page-coverage-libnozzle:
+@BUILD_LIBNOZZLE_TRUE@@BUILD_MAN_TRUE@	$(srcdir)/api-to-man-page-coverage $(top_srcdir) nozzle
+
+@BUILD_MAN_TRUE@check-api-to-man-page-coverage-libknet:
+@BUILD_MAN_TRUE@	$(srcdir)/api-to-man-page-coverage $(top_srcdir) knet
+
 clean-local:
 	rm -rf doxyfile*.stamp xml* *.3
 
diff -Nru kronosnet-1.7/poc-code/access-list/ipcheck.c kronosnet-1.8/poc-code/access-list/ipcheck.c
--- kronosnet-1.7/poc-code/access-list/ipcheck.c	2019-01-30 05:43:07.000000000 +0100
+++ kronosnet-1.8/poc-code/access-list/ipcheck.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Christine Caulfield <ccaulfie@redhat.com>
  *
diff -Nru kronosnet-1.7/poc-code/access-list/ipcheck.h kronosnet-1.8/poc-code/access-list/ipcheck.h
--- kronosnet-1.7/poc-code/access-list/ipcheck.h	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/poc-code/access-list/ipcheck.h	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Christine Caulfield <ccaulfie@redhat.com>
  *
diff -Nru kronosnet-1.7/poc-code/access-list/Makefile.am kronosnet-1.8/poc-code/access-list/Makefile.am
--- kronosnet-1.7/poc-code/access-list/Makefile.am	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/poc-code/access-list/Makefile.am	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/poc-code/access-list/Makefile.in kronosnet-1.8/poc-code/access-list/Makefile.in
--- kronosnet-1.7/poc-code/access-list/Makefile.in	2019-01-30 05:50:33.000000000 +0100
+++ kronosnet-1.8/poc-code/access-list/Makefile.in	2019-03-27 04:55:01.000000000 +0100
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 #
-# Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -23,7 +23,7 @@
 #
 
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -284,6 +284,7 @@
 SOURCE_EPOCH = @SOURCE_EPOCH@
 STRIP = @STRIP@
 SYSTEMDDIR = @SYSTEMDDIR@
+TESTDIR = @TESTDIR@
 UTC_DATE_AT = @UTC_DATE_AT@
 VALGRIND_EXEC = @VALGRIND_EXEC@
 VERSION = @VERSION@
diff -Nru kronosnet-1.7/poc-code/access-list/test_ipcheck.c kronosnet-1.8/poc-code/access-list/test_ipcheck.c
--- kronosnet-1.7/poc-code/access-list/test_ipcheck.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/poc-code/access-list/test_ipcheck.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Christine Caulfield <ccaulfie@redhat.com>
  *
diff -Nru kronosnet-1.7/poc-code/iov-hash/main.c kronosnet-1.8/poc-code/iov-hash/main.c
--- kronosnet-1.7/poc-code/iov-hash/main.c	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/poc-code/iov-hash/main.c	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+ * Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
  *
  * Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
  *
diff -Nru kronosnet-1.7/poc-code/iov-hash/Makefile.am kronosnet-1.8/poc-code/iov-hash/Makefile.am
--- kronosnet-1.7/poc-code/iov-hash/Makefile.am	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/poc-code/iov-hash/Makefile.am	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/poc-code/iov-hash/Makefile.in kronosnet-1.8/poc-code/iov-hash/Makefile.in
--- kronosnet-1.7/poc-code/iov-hash/Makefile.in	2019-01-30 05:50:33.000000000 +0100
+++ kronosnet-1.8/poc-code/iov-hash/Makefile.in	2019-03-27 04:55:02.000000000 +0100
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 #
-# Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -23,7 +23,7 @@
 #
 
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -284,6 +284,7 @@
 SOURCE_EPOCH = @SOURCE_EPOCH@
 STRIP = @STRIP@
 SYSTEMDDIR = @SYSTEMDDIR@
+TESTDIR = @TESTDIR@
 UTC_DATE_AT = @UTC_DATE_AT@
 VALGRIND_EXEC = @VALGRIND_EXEC@
 VERSION = @VERSION@
diff -Nru kronosnet-1.7/poc-code/Makefile.am kronosnet-1.8/poc-code/Makefile.am
--- kronosnet-1.7/poc-code/Makefile.am	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/poc-code/Makefile.am	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/poc-code/Makefile.in kronosnet-1.8/poc-code/Makefile.in
--- kronosnet-1.7/poc-code/Makefile.in	2019-01-30 05:50:33.000000000 +0100
+++ kronosnet-1.8/poc-code/Makefile.in	2019-03-27 04:55:01.000000000 +0100
@@ -15,7 +15,7 @@
 @SET_MAKE@
 
 #
-# Copyright (C) 2016-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2016-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -23,7 +23,7 @@
 #
 
 #
-# Copyright (C) 2012-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2012-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
@@ -287,6 +287,7 @@
 SOURCE_EPOCH = @SOURCE_EPOCH@
 STRIP = @STRIP@
 SYSTEMDDIR = @SYSTEMDDIR@
+TESTDIR = @TESTDIR@
 UTC_DATE_AT = @UTC_DATE_AT@
 VALGRIND_EXEC = @VALGRIND_EXEC@
 VERSION = @VERSION@
diff -Nru kronosnet-1.7/README kronosnet-1.8/README
--- kronosnet-1.7/README	2019-01-29 05:56:12.000000000 +0100
+++ kronosnet-1.8/README	2019-03-27 04:52:38.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2010-2018 Red Hat, Inc.  All rights reserved.
+# Copyright (C) 2010-2019 Red Hat, Inc.  All rights reserved.
 #
 # Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
 #
diff -Nru kronosnet-1.7/source_epoch kronosnet-1.8/source_epoch
--- kronosnet-1.7/source_epoch	2019-01-30 05:50:36.000000000 +0100
+++ kronosnet-1.8/source_epoch	2019-03-27 04:55:05.000000000 +0100
@@ -1 +1 @@
-1548823777
+1553658737
diff -Nru kronosnet-1.7/.tarball-version kronosnet-1.8/.tarball-version
--- kronosnet-1.7/.tarball-version	2019-01-30 05:50:36.000000000 +0100
+++ kronosnet-1.8/.tarball-version	2019-03-27 04:55:05.000000000 +0100
@@ -1 +1 @@
-1.7
+1.8
diff -Nru kronosnet-1.7/.version kronosnet-1.8/.version
--- kronosnet-1.7/.version	2019-01-30 05:50:36.000000000 +0100
+++ kronosnet-1.8/.version	2019-03-27 04:55:04.000000000 +0100
@@ -1 +1 @@
-1.7
+1.8

unblock kronosnet/1.8-1

--- End Message ---
--- Begin Message ---
Niels Thykier:
> Control: tags -1 confirmed moreinfo
> 
> 
> Ferenc Wágner:
>> Package: release.debian.org
>> Severity: normal
>> User: release.debian.org@packages.debian.org
>> Usertags: unblock
>>
>> Please unblock package kronosnet
>>
>> Dear Release Team,
>>
>> The latest upstream release of kronosnet fixes a use-after-free and a
>> configuration error causing 100% CPU usage, both of which would be very
>> good to have in buster.  Besides this, there's a flow change required by
>> FreeBSD (which returns EINVAL if the destination address is filled in
>> while sending over connected sockets) and some minor logging, test and
>> documentation fixes.  Most of the latter does not affect the binary
>> packages, because the unit tests and the doxyxml tool is not shipped.
>> I'm the only user of this library (via corosync), so the change is also
>> very narrow-scoped.  Unfortunately, the debdiff is hard to read due to
>> the copyright year updates across the board.  Please consider digging
>> through it. :)  I'm ready to upload kronosnet_1.8-1 if you agree.
>>
>> Thanks,
>> Feri.
>>
>> [...]
>>
>> unblock kronosnet/1.8-1
>>
> 
> Please go ahead and remove the moreinfo tag when it is ready to be
> unblocked.
> 
> Thanks,
> ~Niels
> 

Uploaded and unblocked, thanks.
~Niels

--- End Message ---

Reply to: