]> git.ipfire.org Git - thirdparty/bird.git/commit
Use (SOCK_DGRAM,IPPROTO_IP) socket instead of (SOCK_STREAM,IPPROTO_TCP).
authorMartin Mares <mj@ucw.cz>
Mon, 19 Oct 1998 17:48:45 +0000 (17:48 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 19 Oct 1998 17:48:45 +0000 (17:48 +0000)
commit567e6c62208d3bb05b58b8ed08c2be29d6542f2b
treea3871320714412f3bb91f2f0c90aae44989292af
parent4cf45766bac4b1e3f5196f7e36d012cb7c010dc1
Use (SOCK_DGRAM,IPPROTO_IP) socket instead of (SOCK_STREAM,IPPROTO_TCP).
This is exactly what Linux ifconfig does and seems to be the preferred way.
sysdep/unix/sync-if.c