summaryrefslogtreecommitdiff
path: root/src/gnutls.c
diff options
context:
space:
mode:
authorRobert Pluim <rpluim@gmail.com>2019-08-07 14:07:07 +0200
committerRobert Pluim <rpluim@gmail.com>2019-08-07 14:07:07 +0200
commitbc1cf28da5532c6052eade7b5d19bb59e7e1f7bf (patch)
treefbfebc7b64482a7836d46662645836dfecf02b07 /src/gnutls.c
parent76662cc47d0dd1482442914d0b1f5011f0c86c5e (diff)
downloademacs-bc1cf28da5532c6052eade7b5d19bb59e7e1f7bf.tar.gz
emacs-bc1cf28da5532c6052eade7b5d19bb59e7e1f7bf.tar.bz2
emacs-bc1cf28da5532c6052eade7b5d19bb59e7e1f7bf.zip
Change nsm-should-check to look at local subnets
* lisp/net/nsm.el (nsm-network-same-subnet): New function. Checks if an ip address is in the same subnet as another one. (nsm-should-check): Use nsm-network-same-subnet to see if we're connecting to a local subnet machine. Remove checks for RFC1918 addresses. * test/lisp/net/nsm-tests.el: New file. Test nsm-should-check functionality.
Diffstat (limited to 'src/gnutls.c')
0 files changed, 0 insertions, 0 deletions