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;
+ sfd = af->fd;
}
if (sfd < 0)
fprintf(stderr, _("No usable address families found.\n"));