projects
/
platform
/
upstream
/
net-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
enable -fno-strict-aliasing until the code base gets a hefty clean up to fix all...
[platform/upstream/net-tools.git]
/
lib
/
sockets.c
diff --git
a/lib/sockets.c
b/lib/sockets.c
index
e4ae5e5
..
737a8f6
100644
(file)
--- a/
lib/sockets.c
+++ b/
lib/sockets.c
@@
-51,6
+51,10
@@
int sockets_open(int family)
if (af->af == AF_NETROM)
type = SOCK_SEQPACKET;
#endif
+#if HAVE_AFX25
+ if (af->af == AF_X25)
+ type = SOCK_SEQPACKET;
+#endif
af->fd = socket(af->af, type, 0);
if (af->fd >= 0)
sfd = af->fd;