#!/bin/sh

ipv6=false
if ../su/localinfo -6 -n -g -s > /dev/null 2>&1 ; then
    ipv6=true
else
    if ! ../su/localinfo '--help' > /dev/null 2>&1 ; then
	echo "warning: $0: missing 'localinfo', cannot test IPv6"
    else
	echo "warning: $0: no valid IPv6 addresses available"
    fi
fi

ipv6=$ipv6 $VALGRIND exec ./check_nua "$@"