rtnetlink 0.2.0.0 → 0.2.0.1
raw patch · 2 files changed
+5/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- rtnetlink.cabal +2/−2
- src/System/Linux/RTNetlink.hs +3/−3
rtnetlink.cabal view
@@ -1,5 +1,5 @@ name: rtnetlink-version: 0.2.0.0+version: 0.2.0.1 synopsis: Manipulate network devices, addresses, and routes on Linux description: A high-level, extensible, pure-Haskell interface to the ROUTE_NETLINK subsystem of netlink for manipulating@@ -102,4 +102,4 @@ source-repository head type: git- location: https://gitlab.com/formaltech/rtnetlink-hs+ location: https://github.com/protoben/rtnetlink-hs
src/System/Linux/RTNetlink.hs view
@@ -39,10 +39,10 @@ > main :: IO () > main = runRTNL $ do > let mybridge = LinkName "mybridge"-> create (Bridge mybridge)+> create (Bridge, mybridge) > change mybridge Up-> state <- dump mybridge-> when (head state == Up) $+> state <- dump' mybridge+> when (state == Up) $ > liftIO (putStrLn "I did it, mom!") > destroy mybridge -}