Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
net-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
net-tools
Commits
36425318
Commit
36425318
authored
Dec 15, 2011
by
Bernd Eckenfels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bluetooth name fix
parent
f6baf958
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
config.in
config.in
+1
-1
lib/net-features.h
lib/net-features.h
+6
-0
netstat.c
netstat.c
+4
-4
No files found.
config.in
View file @
36425318
...
...
@@ -59,7 +59,7 @@ bool 'X.25 (CCITT) protocol family' HAVE_AFX25 y
bool 'Econet protocol family' HAVE_AFECONET y
bool 'DECnet protocol family' HAVE_AFDECnet n
bool 'Ash protocol family' HAVE_AFASH y
bool 'Bluetooth protocol family' HAVE_
BLUETOOTH y
bool 'Bluetooth protocol family' HAVE_
AFBLUETOOTH n
*
*
* Device Hardware types.
...
...
lib/net-features.h
View file @
36425318
...
...
@@ -183,6 +183,12 @@ static char *Features =
"-"
#endif
"ROSE "
#if HAVE_AFBLUETOOTH
"+"
#else
"-"
#endif
"BLUETOOTH"
"
\n
HW: "
...
...
netstat.c
View file @
36425318
...
...
@@ -99,7 +99,7 @@
#include "util.h"
#include "proc.h"
#if HAVE_BLUETOOTH
#if HAVE_
AF
BLUETOOTH
#include <bluetooth/bluetooth.h>
#endif
...
...
@@ -1617,7 +1617,7 @@ static int ipx_info(void)
}
#endif
#if HAVE_BLUETOOTH
#if HAVE_
AF
BLUETOOTH
const
char
*
bluetooth_state
(
int
state
)
{
switch
(
state
)
{
...
...
@@ -2214,7 +2214,7 @@ int main
}
if
(
!
flag_arg
||
flag_l2cap
||
flag_rfcomm
)
{
#if HAVE_BLUETOOTH
#if HAVE_
AF
BLUETOOTH
printf
(
_
(
"Active Bluetooth connections "
));
/* xxx */
if
(
flag_all
)
...
...
@@ -2233,7 +2233,7 @@ int main
}
#endif
}
#if HAVE_BLUETOOTH
#if HAVE_
AF
BLUETOOTH
if
(
!
flag_arg
||
flag_l2cap
)
{
i
=
l2cap_info
();
if
(
i
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment