]> granicus.if.org Git - ipset/commit
Avoid possible syntax clashing at saving hostnames
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 24 Jan 2011 16:38:26 +0000 (17:38 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 24 Jan 2011 16:38:26 +0000 (17:38 +0100)
commit15d91179ef61df920bf5e90bab538cb71f36d0f8
tree648ed10ad90cf24e62de85bf0f0f11faa21c1d2a
parent174a7deab7f02ab1cd9f041a934a4d9b6a4c675b
Avoid possible syntax clashing at saving hostnames

If resolving is requested and the resolved hostname contains a dash
character, print the unresolved IP address instead in order not to
clash with the IP/hostname range syntax.
lib/print.c