]> granicus.if.org Git - ipset/commit
Support hostnames and service names with dash
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sat, 14 Jan 2012 14:06:00 +0000 (15:06 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sat, 14 Jan 2012 14:06:00 +0000 (15:06 +0100)
commit36e483b303b11890e870eba5a8c798b170244cb3
tree51894eeecb17e00f76405043a2b394e1fdbd00c9
parent64f47a74c303ba53a306e6ad4cd0c7f40a165eea
Support hostnames and service names with dash

The square brackets are introduced as an escape mechanism to
enter hostnames or service names with dash in order to avoid
mixing up the dash in the name with the range notation.

Problem reported by Stephen Hemminger and Marc Guardiola.
include/libipset/parse.h
lib/parse.c
lib/print.c
src/ipset.8