]> Cypherpunks.ru repositories - nncp.git/blobdiff - doc/cfg.texi
Fix Texinfo warning about nodes with the dots
[nncp.git] / doc / cfg.texi
index cc6a24ae72190dd020e39a8d41519bb73304c9c0..30341f888dc160c555939530541d5609f1b11a4f 100644 (file)
@@ -11,6 +11,9 @@ Example @url{https://hjson.org/, Hjson} configuration file:
   noprogress: true
   nohdr: true
 
+  mcd-listen: ["em0", "igb1"]
+  mcd-send: {em0: 60, igb1: 5}
+
   notify: {
     file: {
       from: nncp@localhost
@@ -107,6 +110,14 @@ commands by default. You can always force its showing with
 @anchor{CfgNoHdr}
 @strong{nohdr} option disables @ref{HdrFile, .hdr} files usage.
 
+@anchor{CfgMCDListen}
+@strong{mcd-listen} specifies list of network interfaces
+@ref{nncp-caller} will listen for incoming @ref{MCD} announcements.
+
+@anchor{CfgMCDSend}
+@strong{mcd-send} specifies list of network interfaces, and intervals in
+seconds, where @ref{nncp-daemon} will send @ref{MCD} announcements.
+
 @anchor{CfgNotify}
 @strong{notify} section contains notification settings for successfully
 tossed file, freq and exec packets. Corresponding @strong{from} and