]> Cypherpunks.ru repositories - nncp.git/commitdiff
Do not exit if MCD interface is unavailable
authorSergey Matveev <stargrave@stargrave.org>
Tue, 27 Jul 2021 08:27:59 +0000 (11:27 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 27 Jul 2021 08:27:59 +0000 (11:27 +0300)
doc/news.ru.texi
doc/news.texi
src/cmd/nncp-caller/main.go

index 3f7d2dfb3218101b09321b10f7e771e82c5b30de..29dd5a8c2e0b3d3a4583c0c685abeb22cc248687 100644 (file)
 @command{nncp-call} может быть UCSPI-TCP клиентом, используя
 @option{-ucspi} опцию.
 
+@item
+Не выходить если не получается слушать на каком-либо MCD сетевом
+интерфейсе -- только предупреждать об ошибке.
+
 @end itemize
 
 @node Релиз 7.4.0
index 6707c6fdaef6ba84ad9017d68dbfd974089b1961..0f230572b9004ac524b9088965acbda47078d6d1 100644 (file)
@@ -15,6 +15,10 @@ utility). @option{-ucspi} option should be used instead of @option{-inetd}.
 @item
 @command{nncp-call} can be UCSPI-TCP client, using @option{-ucspi} option.
 
+@item
+Do not exit if some of MCD network interfaces can not be listened --
+only warn about that.
+
 @end itemize
 
 @node Release 7_4_0
index d1a5b34be2a392dccbcb9a6724bb3e63362bf603..614a0512a4a0068c3e6e978f5029e5c37bf0f0d7 100644 (file)
@@ -124,7 +124,7 @@ func main() {
 
        for _, ifiName := range ctx.MCDRxIfis {
                if err = ctx.MCDRx(ifiName); err != nil {
-                       log.Fatalln("Can not run MCD reception:", err)
+                       log.Printf("Can not run MCD reception on %s: %s", ifiName, err)
                }
        }