diff options
| author | Julian Elischer <julian@FreeBSD.org> | 2004-08-20 01:24:23 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 2004-08-20 01:24:23 +0000 |
| commit | f036d4081d9d044f98aa1db0907a5520b6de2e13 (patch) | |
| tree | b7b08a076f5d24c9ea38fd4c07fbe2d17a97c7f0 /sys/netgraph/bluetooth | |
| parent | ce63226177d28d58c516977967d9a002e62237cd (diff) | |
Notes
Diffstat (limited to 'sys/netgraph/bluetooth')
| -rw-r--r-- | sys/netgraph/bluetooth/include/ng_btsocket.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/netgraph/bluetooth/include/ng_btsocket.h b/sys/netgraph/bluetooth/include/ng_btsocket.h index d13c650dd73a..f02b5f7abab5 100644 --- a/sys/netgraph/bluetooth/include/ng_btsocket.h +++ b/sys/netgraph/bluetooth/include/ng_btsocket.h @@ -42,17 +42,12 @@ /* * Bluetooth version of struct sockaddr for raw HCI sockets - * - * XXX: sizeof(hci_node) was NG_NODELEN + 1, but NG_NODESIZ (the equivalent - * of NG_NODELEN + 1) has been bumped to 32. The code currently - * truncates the node name to sizeof(hci_node), although it would be - * possible to correctly handle this by means of the hci_len field. */ struct sockaddr_hci { u_char hci_len; /* total length */ u_char hci_family; /* address family */ - char hci_node[16]; /* address */ + char hci_node[32]; /* address (size == NG_NODESIZ ) */ }; /* Raw HCI socket options */ |
