]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/call.go
Correctly show seconds
[nncp.git] / src / call.go
index ab254b2dd5b6e8e9affb7e6280373111038c6117..a201825f82358777700b3af793a9f4905526debd 100644 (file)
@@ -37,6 +37,7 @@ type Call struct {
        MaxOnlineTime  time.Duration
        WhenTxExists   bool
        NoCK           bool
+       MCDIgnore      bool
 
        AutoToss       bool
        AutoTossDoSeen bool
@@ -109,7 +110,7 @@ func (ctx *Ctx) CallNode(
                                        node.Name,
                                        int(state.Duration.Hours()),
                                        int(state.Duration.Minutes()),
-                                       int(state.Duration.Seconds()),
+                                       int(state.Duration.Seconds()/60),
                                        humanize.IBytes(uint64(state.RxBytes)),
                                        humanize.IBytes(uint64(state.RxSpeed)),
                                        humanize.IBytes(uint64(state.TxBytes)),