Skip to content

Commit

Permalink
ipv6 network tracing adaptions
Browse files Browse the repository at this point in the history
  • Loading branch information
karknu committed Nov 23, 2021
1 parent 325ddec commit b0b4b3d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cardano-node/src/Cardano/Tracing/OrphanInstances/Network.hs
Expand Up @@ -1924,6 +1924,10 @@ instance ToObject NtN.RemoteAddress where
mkObject [ "path" .= show path ]


instance ToJSON IP.IP where
toJSON ip = Aeson.object ["ip" .= show ip]


instance ToObject NtN.RemoteConnectionId where
toObject verb (NtN.ConnectionId l r) =
mkObject [ "local" .= toObject verb l
Expand Down

0 comments on commit b0b4b3d

Please sign in to comment.