]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/ctx.go
Yggdrasil overlay transport
[nncp.git] / src / ctx.go
index cfbe1b57d3b3e9dbfabcfa8a277d7f198cc9118e..c6f77c86876f644b27a8a69a3966e5ef5b0948f2 100644 (file)
@@ -1,6 +1,6 @@
 /*
 NNCP -- Node to Node copy, utilities for store-and-forward data exchange
-Copyright (C) 2016-2021 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2016-2022 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -51,6 +51,8 @@ type Ctx struct {
 
        MCDRxIfis []string
        MCDTxIfis map[string]int
+
+       YggdrasilAliases map[string]string
 }
 
 func (ctx *Ctx) FindNode(id string) (*Node, error) {