]> git.eshelyaron.com Git - emacs.git/commit
Don't error when comparing IPv4 and IPv6 addresses
authorRobert Pluim <rpluim@gmail.com>
Mon, 18 Nov 2019 09:57:55 +0000 (10:57 +0100)
committerRobert Pluim <rpluim@gmail.com>
Tue, 19 Nov 2019 12:36:07 +0000 (13:36 +0100)
commitcf0a76a43831105d74b54f0e50f77eb60460fbea
treeae3826dddc319ea19d61ef26fb8e997f2ac5e9e7
parent067a42f8dd2ce19de3203605ee8c1c08aa192580
Don't error when comparing IPv4 and IPv6 addresses

* lisp/net/nsm.el (nsm-network-same-subnet): Compare lengths of
local-ip and ip; different lengths can never match.
(nsm-should-check): Chop port off end of address.
lisp/net/nsm.el