diff options
author | Robert Pluim <rpluim@gmail.com> | 2021-01-12 18:36:01 +0100 |
---|---|---|
committer | Robert Pluim <rpluim@gmail.com> | 2021-01-12 18:53:48 +0100 |
commit | 6dc4fc7d621008086388dae48f6794f7d69edff9 (patch) | |
tree | 9982691ecc894b28859caa91a60901ae8d844790 | |
parent | 792ba7196ff1171f44571d9ba9b88b96d5be85ad (diff) | |
download | emacs-6dc4fc7d621008086388dae48f6794f7d69edff9.tar.gz |
Fix nsm-should-check for "google.com" failure
* lisp/net/nsm.el (nsm-should-check): Extract the mask from
'network-interface-list' rather than the broadcast
address (Bug#45798).
-rw-r--r-- | lisp/net/nsm.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/nsm.el b/lisp/net/nsm.el index 3f3e7133713..0ce65a35ead 100644 --- a/lisp/net/nsm.el +++ b/lisp/net/nsm.el @@ -239,7 +239,7 @@ otherwise." (mapc (lambda (info) (let ((local-ip (nth 1 info)) - (mask (nth 2 info))) + (mask (nth 3 info))) (when (nsm-network-same-subnet (substring local-ip 0 -1) (substring mask 0 -1) |