summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-11 23:33:09 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-02-13 11:54:39 -0500
commitcf98937cc73201a71fabbd35fd9853cbe2790ed0 (patch)
tree960390a70fee850f25a2aa89303ddb1223a55890 /units
parentafe773b01a704b98a350a36fa518bfcd6a54323b (diff)
activate: allow multiple, possibly invalid, fd names
Previous code only allowed a single name to be passed, and duplicated it over all descriptors. For the sake of testing, allow different names and in arbitrary number. If just one is given, duplicate it to match the number of sockets. This matches previuos behaviour. Since this is a testing tool, it seems useful to allow passing invalid names to test application behaviour with invalid names. Hence, only warn. When warning, escape the name.
Diffstat (limited to 'units')
0 files changed, 0 insertions, 0 deletions