]> www.average.org Git - pdns-pipe-nmc.git/blobdiff - PowerDns.hs
wip reorg responsibilities
[pdns-pipe-nmc.git] / PowerDns.hs
index d93214f98d33352cfc2702ea8ba9e4e1889c7bb8..6800143dcd243b8d595f1a78d329509b9fbdb3bc 100644 (file)
@@ -61,7 +61,7 @@ pdnsParse ver s =
                                             , localIpAddress = getLIp ver xs
                                             , ednsSubnetAddress = getRIp ver xs
                                             })
-      _                         -> Left s
+      _                         -> Left $ "Unparseable PDNS Request: " ++ s
 
-pdnsOut :: NmcDom -> String
-pdnsOut d = show d
+pdnsOut :: RRType -> NmcDom -> String
+pdnsOut d = show d