aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils/utils.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2013-08-23 14:22:29 +0200
committerMartin Willi <martin@revosec.ch>2013-08-23 14:27:17 +0200
commit49032d15be34cdb0ba9f233e837e3949ee14067c (patch)
treed0ee8a9c3d0fb459ad2b95b3dd5b23431e5af57d /src/libstrongswan/utils/utils.h
parent03d673620debfd29cbec541b2956fc94a1087831 (diff)
downloadstrongswan-49032d15be34cdb0ba9f233e837e3949ee14067c.tar.bz2
strongswan-49032d15be34cdb0ba9f233e837e3949ee14067c.tar.xz
stroke: stop enumerating IKE_SAs in statusall if output stream gets closed
If the output stream is not interested in more information, it can close the the stream. Checking for stream errors avoids useless enumeration of IKE_SAs, saving resources. This allows to use "ipsec statusall | head" to monitor the daemon, or stop enumerating IKE_SAs after a specific entry has been found.
Diffstat (limited to 'src/libstrongswan/utils/utils.h')
0 files changed, 0 insertions, 0 deletions