aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/net/nsm-tests.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2020Paul Eggert2020-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* Add nsm-should-check IPv6 local subnet testsRobert Pluim2019-11-291-3/+11
| | | | | | * test/lisp/net/nsm-tests.el (nsm-check-local-subnet-ipv6): Now that IPv6 addresses are returned from network-interface-list, test nsm-should check and nsm-network-same-subnet for IPv6 as well.
* Use 127.0.0.1 in nsm-testsRobert Pluim2019-11-261-2/+2
| | | | | | | Winsock doesn't like "127.1" * test/lisp/net/nsm-tests.el (nsm-check-local-subnet-ipv4): Spell numeric localhost as "127.0.0.1" instead of "127.1".
* Change nsm-should-check to look at local subnetsRobert Pluim2019-08-071-0/+69
* 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.