svn commit: r321881 - head/share/examples/ppp
Sevan Janiyan
sevan at FreeBSD.org
Tue Aug 1 16:20:34 UTC 2017
Author: sevan (doc committer)
Date: Tue Aug 1 16:20:33 2017
New Revision: 321881
URL: https://svnweb.freebsd.org/changeset/base/321881
Log:
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.
Reviewed by: bcr (mentor) wblock (mentor)
Approved by: gavin
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D9830
Modified:
head/share/examples/ppp/ppp.conf.sample
Modified: head/share/examples/ppp/ppp.conf.sample
==============================================================================
--- head/share/examples/ppp/ppp.conf.sample Tue Aug 1 16:15:08 2017 (r321880)
+++ head/share/examples/ppp/ppp.conf.sample Tue Aug 1 16:20:33 2017 (r321881)
@@ -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
More information about the svn-src-all
mailing list