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:
Maksim Yevmenkin 2005-12-07 19:41:58 +00:00
parent 21c4855ebe
commit a9412967a2
2 changed files with 7 additions and 1 deletions

View File

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

View File

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