chiark / gitweb /
svc/conntrack.in (kickpeers): Refactor and reformat the search loop.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 29 Sep 2017 00:18:25 +0000 (01:18 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 28 Jun 2018 23:29:24 +0000 (00:29 +0100)
commitfa59a04b4daaa8d75e1fb0e875ed6ed5fb6d1304
tree85bca2e79506b3bc960a094a5a7a75a63090d95d
parent31d7aa8d987530b11fa208ac87ffd1d31c22fdf3
svc/conntrack.in (kickpeers): Refactor and reformat the search loop.

The `ip' variable wasn't doing anything except remembering whether we'd
found a match, so replace it with a flag.  This frees up the `ip' name,
so give that to the bizarrely named `ipq' variable which holds the
discovered local address.
svc/conntrack.in