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
@ -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