summaryrefslogtreecommitdiff
path: root/Propellor/Types/Dns.hs
diff options
context:
space:
mode:
authorJoey Hess2014-04-18 19:06:55 -0400
committerJoey Hess2014-04-18 19:13:22 -0400
commit8e22065deff41c3e476763ebd939a63856e6d54b (patch)
tree225977afe80478ebc3df1c71504cd46d6e474af1 /Propellor/Types/Dns.hs
parent80caa6c09d8c15f0ed5d3ce147869b67c0c9f2a8 (diff)
better serial number offsets
Diffstat (limited to 'Propellor/Types/Dns.hs')
-rw-r--r--Propellor/Types/Dns.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Propellor/Types/Dns.hs b/Propellor/Types/Dns.hs
index 026920fb..b5cfcffd 100644
--- a/Propellor/Types/Dns.hs
+++ b/Propellor/Types/Dns.hs
@@ -2,7 +2,7 @@ module Propellor.Types.Dns where
import Propellor.Types.OS (HostName)
-import Foreign.C.Types
+import Data.Word
type Domain = String
@@ -65,7 +65,7 @@ getIPAddr (Address addr) = Just addr
getIPAddr _ = Nothing
-- | Bind serial numbers are unsigned, 32 bit integers.
-type SerialNumber = CInt
+type SerialNumber = Word32
-- | Domains in the zone file must end with a period if they are absolute.
--