inverse-inc/packetfence — pull request #131 by chris03 (2014-03-20 17:52:55+00:00)
Title: Fix to show the current IP in the node list

In the node list, the IP address of the node is not displayed even when the node is active and has an IP.

The origin of the problem is that the query only joins the iplog table when the _end_time_ = _'0000-00-00 00:00:00'_.
In reality, the _end_time_ of most nodes is the expiration of the dhcp lease which is a date in the future.

The proposed fix is to also join when the _end_time_ is greater than _NOW()_