On 8/3/05, Dmitry Sorokin <[EMAIL PROTECTED]> wrote:
> This feature doesn't work properly. After clicking "+" on DHCP Leases page,
> instead of taking you to services_dhcp_edit.php it takes you to
> services_dhcp.php.
> I looked into diag_dhcp_leases.php and it seems that $data['if'] is not
> available there, so on the diag_dhcp_leases.php the link for the "+" is not
> complete ("if" variable is missing): <a href="services_dhcp_edit.php?
> if=&mac=xx:xx:xx:xx:xx:xx">
> Is it possible to fix that?
> 
> Also I'd like to add &ipaddr={$data['ip']}&descr={$data['hostname']} to the
> services_dhcp_edit.php?if={$data['if']}&mac={$data['mac']} link so I don't 
> have
> to enter hostname manually and can just slightly edit the ip address.
> I'm attaching patched  diag_dhcp_leases.php and services_dhcp_edit.php to 
> allow
> that. (but the bug with $data['if'] is not fixed still)
> I'm using psSense-0.73.4

Thanks for the report.   These are now fixed.   Once I fixed the
interface issue the other items fixed themselves :)

Scott

Reply via email to