From: Sergey Matveev Date: Tue, 27 Jul 2021 08:27:59 +0000 (+0300) Subject: Do not exit if MCD interface is unavailable X-Git-Tag: v7.5.0^2~5 X-Git-Url: http://www.git.cypherpunks.ru/?p=nncp.git;a=commitdiff_plain;h=3f83210644b82fbe66a619f8ac2814fe96df623e Do not exit if MCD interface is unavailable --- diff --git a/doc/news.ru.texi b/doc/news.ru.texi index 3f7d2df..29dd5a8 100644 --- a/doc/news.ru.texi +++ b/doc/news.ru.texi @@ -15,6 +15,10 @@ @command{nncp-call} может быть UCSPI-TCP клиентом, используя @option{-ucspi} опцию. +@item +Не выходить если не получается слушать на каком-либо MCD сетевом +интерфейсе -- только предупреждать об ошибке. + @end itemize @node Релиз 7.4.0 diff --git a/doc/news.texi b/doc/news.texi index 6707c6f..0f23057 100644 --- a/doc/news.texi +++ b/doc/news.texi @@ -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 diff --git a/src/cmd/nncp-caller/main.go b/src/cmd/nncp-caller/main.go index d1a5b34..614a051 100644 --- a/src/cmd/nncp-caller/main.go +++ b/src/cmd/nncp-caller/main.go @@ -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) } }