diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-07-26 19:37:16 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-07-26 19:37:16 -0400 |
| commit | 28f0b0d0e8bc33224037002fe29a7c06726d4139 (patch) | |
| tree | 6e06fc86008ae8f7522f7a18e6933c6b5acdbadf /src | |
| parent | ba6ec18ebe9c48793e16673285ed7cc2b3544ffa (diff) | |
propellor spin
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/Network.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Propellor/Property/Network.hs b/src/Propellor/Property/Network.hs index 0e47b88f..a50d3f95 100644 --- a/src/Propellor/Property/Network.hs +++ b/src/Propellor/Property/Network.hs @@ -51,10 +51,10 @@ static iface addr gateway = ls = catMaybes [ Just $ "auto " ++ iface , Just $ "iface " ++ iface ++ " " ++ inet ++ " static" - , Just $ "\taddress" ++ val addr + , Just $ "\taddress " ++ val addr , case gateway of Just (Gateway gaddr) -> - Just $ "\tgateway" ++ val gaddr + Just $ "\tgateway " ++ val gaddr Nothing -> Nothing ] inet = case addr of |
