pike.git / lib / modules / Protocols.pmod / DNS.pmod

version» Context lines:

pike.git/lib/modules/Protocols.pmod/DNS.pmod:120:    //! Type - IPv6 address record (RFC 2874, incomplete support)    T_A6=38,       //! Type - SPF - Sender Policy Framework (RFC 4408)    T_SPF=99,       //! Type - ANY - A request for all records    T_ANY=255,   };    - int safe_bind(Stdio.UDP udp, mixed ... args) + int safe_bind(Stdio.UDP udp, string|int port, string|void device)   {    mixed err = catch { -  udp->bind(@args); +  udp->bind(port, device, 1);    return 1;    };   #if constant(System.EADDRINUSE)    if (errno() == System.EADDRINUSE) return 0;   #endif    werror("Protocols.DNS: Binding of UDP port failed with errno %d: %s\n",    errno(), strerror(errno()));    master()->handle_error(err);    return 0;   }