pkgsrc-wip/chromium/patches/patch-components_security__...

21 lines
758 B
C++

$NetBSD$
--- components/security_interstitials/content/captive_portal_blocking_page.cc.orig 2020-07-08 21:40:41.000000000 +0000
+++ components/security_interstitials/content/captive_portal_blocking_page.cc
@@ -106,7 +106,7 @@ std::string CaptivePortalBlockingPage::G
wifi_service->GetConnectedNetworkSSID(&ssid, &error);
if (!error.empty())
return std::string();
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_BSD)
ssid = net::GetWifiSSID();
#elif defined(OS_ANDROID)
ssid = net::android::GetWifiSSID();
@@ -236,4 +236,4 @@ void CaptivePortalBlockingPage::CommandR
NOTREACHED() << "Command " << cmd
<< " isn't handled by the captive portal interstitial.";
}
-}
\ No newline at end of file
+}