nspawn: don't run nspawn --port=... without libiptc support
authorEvgeny Vereshchagin <evvers@ya.ru>
Thu, 17 Mar 2016 21:06:17 +0000 (21:06 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Thu, 17 Mar 2016 21:07:11 +0000 (21:07 +0000)
commit1c1ea217357c60ab2f57ea8f20d84166f641f49f
treea8231f5175a4951cc5c2674cb65a747223e8f14c
parent2ddbdcc9c24b802564784f0812611b368a733e51
nspawn: don't run nspawn --port=... without libiptc support

We get
$ systemd-nspawn --image /dev/loop1 --port 8080:80 -n -b 3
--port= is not supported, compiled without libiptc support.

instead of a ping-nc-iptables debugging session
src/nspawn/nspawn.c