Date: Sun, 25 Mar 2018 01:24:52 +0000 (UTC) From: Sevan Janiyan <sevan@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r331514 - stable/11/share/examples/ppp Message-ID: <201803250124.w2P1Oq0E096081@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sevan (doc committer) Date: Sun Mar 25 01:24:52 2018 New Revision: 331514 URL: https://svnweb.freebsd.org/changeset/base/331514 Log: MFC 321881 For the udp-client example, instruct user to add an entry for a udp based service. For tcp-client & udp-client, use the same port in configuration snippet as used in the comment prior to remove any ambiguity on the port number which needs to be specified. Modified: stable/11/share/examples/ppp/ppp.conf.sample Directory Properties: stable/11/ (props changed) Modified: stable/11/share/examples/ppp/ppp.conf.sample ============================================================================== --- stable/11/share/examples/ppp/ppp.conf.sample Sun Mar 25 01:24:02 2018 (r331513) +++ stable/11/share/examples/ppp/ppp.conf.sample Sun Mar 25 01:24:52 2018 (r331514) @@ -523,7 +523,7 @@ compuserve: # such as `rlogin' is involved, you may need to ``set escape 0xff'' # tcp-client: - set device tcpsrv.mynet:1234 + set device tcpsrv.mynet:6671 set dial set login set ifaddr 10.0.5.1 10.0.4.1 255.255.255.0 @@ -538,10 +538,10 @@ tcp-server: # # and this in /etc/services: # -# ppp 6671/tcp +# ppp 6671/udp # udp-client: - set device udpsrv.mynet:1234/udp + set device udpsrv.mynet:6671/udp set dial set login set ifaddr 10.0.5.1 10.0.4.1 255.255.255.0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803250124.w2P1Oq0E096081>