Question Re: UID

Kevin C. Miller kevinm at andrew.cmu.edu
Thu Mar 28 04:08:07 UTC 2002


Ted Lemon [3/27/2002 7:47 PM -0600]:
> The client identifier should be removed in supersede_lease, when
> the lease expires.   Possibly there is a bug where this is not
> happening when the lease expires through a failover transaction?

Looks to me like the only way for the uid to be cleaned up is if 
supersede_lease is passed the current lease, and a lease struct 
without uid defined. pool_timer calls supersede_lease (lease, 0, 1, 
1, 1), so it jumps to just_move_it. From there 
make_binding_state_transition is called, where it seems logical to 
clear the uid information (mdb.c:1165).

My leases file doesn't seem to have any uids cleared upon lease 
expiration.

-Kevin

---------------------------------------------------
Kevin C. Miller <kcm at cmu.edu>
Network Group
Carnegie Mellon University


More information about the dhcp-hackers mailing list