Typo.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Thu, 26 Oct 2006 22:32:01 +0000 (22:32 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Thu, 26 Oct 2006 22:32:01 +0000 (22:32 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@717 959494ce-11ee-0310-bf91-de5d638817bd

daemon/net.c

index d8038d1..5960a55 100644 (file)
@@ -109,7 +109,7 @@ int getpublicaddr(int af, struct sockaddr **addr, socklen_t *lenbuf)
        ipv4 = NULL;
        for(ifr = conf.ifc_ifcu.ifcu_req; (void *)ifr < bufend; ifr++)
        {
-           if(strcmp(ifr->ifrname, pif))
+           if(strcmp(ifr->ifr_name, pif))
                continue;
            memset(&req, 0, sizeof(req));
            memcpy(req.ifr_name, ifr->ifr_name, sizeof(ifr->ifr_name));