From: Robert Pluim Date: Tue, 12 Jan 2021 17:36:01 +0000 (+0100) Subject: Fix nsm-should-check for "google.com" failure X-Git-Tag: emacs-28.0.90~4287 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6dc4fc7d621008086388dae48f6794f7d69edff9;p=emacs.git 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). --- 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)