aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/ip/dhcpd/ndb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/ip/dhcpd/ndb.c')
-rw-r--r--[-rwxr-xr-x]src/cmd/ip/dhcpd/ndb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/ip/dhcpd/ndb.c b/src/cmd/ip/dhcpd/ndb.c
index 53ffb58f..97b2284f 100755..100644
--- a/src/cmd/ip/dhcpd/ndb.c
+++ b/src/cmd/ip/dhcpd/ndb.c
@@ -108,7 +108,7 @@ lookupip(uchar *ipaddr, Info *iip, int gate)
t = ndbipinfo(db, "ip", ip, attrs, p - attrs);
if(t == nil)
return -1;
-
+
for(nt = t; nt != nil; nt = nt->entry){
if(strcmp(nt->attr, "ip") == 0)
setipaddr(iip->ipaddr, nt->val);