From: Olov H. <ol...@us...> - 2001-05-23 11:43:01
|
The following file was modified in apps/bluetooth/experimental: Name Old version New version Comment ---- ----------- ----------- ------- btd.c 1.14 1.15=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added remote_bd as option to pppd The diff of the modified file(s): --- btd.c 2001/05/17 10:23:01 1.14 +++ btd.c 2001/05/23 11:42:59 1.15 @@ -135,6 +135,8 @@ static unsigned char ms_wins1[35]; static unsigned char ms_wins2[35]; static unsigned char netmask[35]; +static char bd_str[18]; + =20 static fd_set rfd; static struct timeval tv; @@ -361,6 +363,8 @@ /* IPA response */ if (FD_ISSET(ipa_fd, &rfd)) { +=09=20=20=20=20 +=09=20=20=20=20 msg =3D (struct ipa_msg*) ipa_buf; /* Got response from IPA, if ok then start pppd or modem emul = */ ipa_read(ipa_fd, msg); @@ -462,6 +466,17 @@ opts[i++] =3D "useradius"; opts[i++] =3D "auth"; opts[i++] =3D "login"; + opts[i++] =3D "remotebdaddr"; + + sprintf(bd_str, "%02x:%02x:%02x:%02x:%02x:%02x",=20 + PEER(line).remote_bd[0],=20 + PEER(line).remote_bd[1],=20 + PEER(line).remote_bd[2],=20 + PEER(line).remote_bd[3],=20 + PEER(line).remote_bd[4],=20 + PEER(line).remote_bd[5]); +=20=20=20=20=20=20 + opts[i++] =3D bd_str; =20=20=20=20=20=20=20 if (ipset->useradiusip) { |