packages feed

agentx 0.1.0.5 → 0.2.0.0

raw patch · 4 files changed

+6/−6 lines, 4 filesdep ~snmpPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: snmp

API changes (from Hackage documentation)

- Network.Protocol.Snmp.AgentX: Gaude32 :: Word32 -> Value
+ Network.Protocol.Snmp.AgentX: Gauge32 :: Word32 -> Value

Files

agentx.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                agentx-version:             0.1.0.5+version:             0.2.0.0 synopsis:            AgentX protocol for write SNMP subagents description:         Native implementation agentx protocol (rfc2741)        license:             BSD3@@ -35,7 +35,7 @@                , Network.Protocol.Snmp.AgentX.Packet.Types         -- other-extensions:       build-depends:       base >=4.6 && <4.9-                     , snmp+                     , snmp >=0.2.0.0                      , binary                      , unix                      , bytestring@@ -61,7 +61,7 @@     buildable: False   main-is: Main.hs   build-depends:       base >=4.6 && <4.9-                     , snmp+                     , snmp >=0.2.0.0                      , binary                      , unix                      , bytestring
src/Network/Protocol/Snmp/AgentX/Packet/Get.hs view
@@ -139,7 +139,7 @@     d <- getWord8     return $ IpAddress a b c d getValue bo 65 = Counter32 <$> get32 bo-getValue bo 66 = Gaude32 <$> get32 bo+getValue bo 66 = Gauge32 <$> get32 bo getValue bo 67 = TimeTicks <$> get32 bo getValue bo 68 = Opaque <$> getString bo getValue bo 70 = Counter64 <$> get64 bo
src/Network/Protocol/Snmp/AgentX/Packet/Put.hs view
@@ -97,7 +97,7 @@     packsz (Integer x) = packsz (fromIntegral x :: Word32)     packsz (Counter32 x) = packsz x      packsz (Counter64 x) = packsz x-    packsz (Gaude32 x) = packsz x+    packsz (Gauge32 x) = packsz x     packsz (TimeTicks x) = packsz x     packsz (OI x) = packOID False x     packsz (String x) = packsz x
src/Network/Protocol/Snmp/AgentX/Packet/Types.hs view
@@ -389,7 +389,7 @@     tag (OI _)              = 6     tag (IpAddress _ _ _ _) = 64     tag (Counter32 _)       = 65-    tag (Gaude32 _)         = 66+    tag (Gauge32 _)         = 66     tag (TimeTicks _)       = 67     tag (Opaque _)          = 68     tag (Counter64 _)       = 70