Teach rfcomm_sppd(8) to recognize "lan" (for LAN Access Using PPP) service
name in '-c' (RFCOMM channel) option. MFC after: 3 days
This commit is contained in:
parent
21c4855ebe
commit
a9412967a2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153209
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user