[rtems-libbsd commit] ppp01: Use novj option on host side

Sebastian Huber sebh at rtems.org
Wed Oct 17 09:33:44 UTC 2018


Module:    rtems-libbsd
Branch:    master
Commit:    b151e8ab7e053211bd68ef4691c6da85137c0ebf
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=b151e8ab7e053211bd68ef4691c6da85137c0ebf

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Oct 17 11:31:35 2018 +0200

ppp01: Use novj option on host side

The VJ compression seems to be not supported by libbsd.  Without this
option the following errors show up on the host side:

rcvd [LCP ProtRej id=0x75 00 2f 45 00 00 34 6b 9a 40 00 40 01 85 87 c0 a8 64 0b c0 a8 64 46 89 3c 00 15 2c 27 95 c2 0a 88 ...]
Protocol-Reject for unsupported protocol 'VJ uncompressed TCP/IP' (0x2f)

---

 testsuite/ppp01/test_main.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/testsuite/ppp01/test_main.c b/testsuite/ppp01/test_main.c
index fd6d168..b01f679 100644
--- a/testsuite/ppp01/test_main.c
+++ b/testsuite/ppp01/test_main.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 embedded brains GmbH.  All rights reserved.
+ * Copyright (c) 2014, 2018 embedded brains GmbH.  All rights reserved.
  *
  *  embedded brains GmbH
  *  Dornierstr. 4
@@ -34,7 +34,8 @@
  * with something like this:
  *
  * pppd nodetach noauth 192.168.100.11:192.168.100.70 proxyarp 115200 dump \
- *   local nocrtscts debug mtu 296 mru 296 nolock ms-dns 192.168.96.1 /dev/ttyS0
+ *   local nocrtscts debug mtu 296 mru 296 nolock ms-dns 192.168.96.1 novj \
+ *   /dev/ttyS0
  *
  * Make sure IP forwarding is enabled and check the firewall settings if you
  * want to access the internet.




More information about the vc mailing list