summaryrefslogtreecommitdiffstats
path: root/usr.sbin/npppd
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2020-04-01 08:07:05 +0000
committernicm <nicm@openbsd.org>2020-04-01 08:07:05 +0000
commitc0239fbec1a3c90ae808790a14a26f052fbb19df (patch)
treef13996ba0633a96011294327dfcdd2897f3ffbaf /usr.sbin/npppd
parentUse a comparison to check for wrap and avoid an expensive modulus. (diff)
downloadwireguard-openbsd-c0239fbec1a3c90ae808790a14a26f052fbb19df.tar.xz
wireguard-openbsd-c0239fbec1a3c90ae808790a14a26f052fbb19df.zip
Do not go down the regex search path (which is expensive because we need
to convert the grid data into a string for regexec and reverse it to find the grid position) if the search string does not contain any regex special characters.
Diffstat (limited to 'usr.sbin/npppd')
0 files changed, 0 insertions, 0 deletions