]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: RADIUS client device specified
authorJouni Malinen <j@w1.fi>
Sat, 27 Feb 2021 08:37:07 +0000 (10:37 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 27 Feb 2021 08:51:15 +0000 (10:51 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_radius.py

index 16a29ec858228e0f4610cb6c930871d803fdc4e6..f82e6e07466386981a7978132e2111aed5187add 100644 (file)
@@ -1372,6 +1372,13 @@ def test_radius_auth_force_client_addr(dev, apdev):
     hapd = hostapd.add_ap(apdev[0], params)
     connect(dev[0], "radius-auth")
 
+def test_radius_auth_force_client_dev(dev, apdev):
+    """RADIUS client device specified"""
+    params = hostapd.wpa2_eap_params(ssid="radius-auth")
+    params['radius_client_dev'] = "lo"
+    hapd = hostapd.add_ap(apdev[0], params)
+    connect(dev[0], "radius-auth")
+
 @remote_compatible
 def test_radius_auth_force_invalid_client_addr(dev, apdev):
     """RADIUS client address specified and invalid address"""