File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ async def _get_srv_response_and_hosts(
144
144
"Invalid SRV host: return address is identical to SRV hostname"
145
145
)
146
146
try :
147
- nlist = node [ 0 ]. lower () .split ("." )[1 :][- self .__slen :]
147
+ nlist = srv_host .split ("." )[1 :][- self .__slen :]
148
148
except Exception :
149
149
raise ConfigurationError (f"Invalid SRV host: { node [0 ]} " ) from None
150
150
if self .__plist != nlist :
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ def _get_srv_response_and_hosts(
144
144
"Invalid SRV host: return address is identical to SRV hostname"
145
145
)
146
146
try :
147
- nlist = node [ 0 ]. lower () .split ("." )[1 :][- self .__slen :]
147
+ nlist = srv_host .split ("." )[1 :][- self .__slen :]
148
148
except Exception :
149
149
raise ConfigurationError (f"Invalid SRV host: { node [0 ]} " ) from None
150
150
if self .__plist != nlist :
You can’t perform that action at this time.
0 commit comments