propellor spin

This commit is contained in:
Joey Hess 2015-01-01 16:18:36 -04:00
parent 556ed9d0b1
commit f89aeaa0e8
Failed to extract signature
1 changed files with 3 additions and 1 deletions

View File

@ -101,7 +101,9 @@ getSshTarget target hst
where
go (Left e) = useip (show e)
go (Right hostentry) = ifM (anyM matchingconfig (BSD.hostAddresses hostentry))
( return target
( do
print "MATCHING IP"
return target
, do
ips <- mapM inet_ntoa (BSD.hostAddresses hostentry)
useip ("DNS " ++ show ips ++ " vs configured " ++ show configips)