X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/6239fc5b39f0055dbc53ccbfc80148824a811beb..refs/tags/wip.ipv6.2014-10-13.compare-old:/regress/hrecord.c diff --git a/regress/hrecord.c b/regress/hrecord.c index c059434..dec099b 100644 --- a/regress/hrecord.c +++ b/regress/hrecord.c @@ -81,7 +81,7 @@ int Hpoll( struct pollfd *fds , int nfds , int timeout ) { #endif int Hsocket( int domain , int type , int protocol ) { int r, e; - Tmust("socket","domain",domain==PF_INET || domain==PF_INET6); + Tmust("socket","domain",domain==AF_INET || domain==AF_INET6); Tmust("socket","type",type==SOCK_STREAM || type==SOCK_DGRAM); Qsocket( domain , type ); r= socket( domain , type , protocol );