aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.14
-rw-r--r--usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.1 b/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.1
index b2b4deac403a..2f7d3f5328a1 100644
--- a/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.1
+++ b/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.1
@@ -86,7 +86,9 @@ Supported service names are:
.Cm DUN
(for DialUp Networking service),
.Cm FAX
-(for Fax service) and
+(for Fax service),
+.Cm LAN
+(for LAN Access Using PPP service) and
.Cm SP
(for Serial Port service).
If channel was not specified then
diff --git a/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c b/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
index d5f0bf57d9d5..4ce893da22c5 100644
--- a/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
+++ b/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
@@ -107,6 +107,10 @@ main(int argc, char *argv[])
service = SDP_SERVICE_CLASS_FAX;
break;
+ case 'l': /* LAN */
+ service = SDP_SERVICE_CLASS_LAN_ACCESS_USING_PPP;
+ break;
+
case 's': /* Serial Port */
service = SDP_SERVICE_CLASS_SERIAL_PORT;
break;