NOTIFY don't update GW and SUBNET

Bug #563791 reported by Gonéri Le Bouder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OCS Inventory: Server
Fix Released
Medium
mortheres

Bug Description

Hi,

When a client send a "NOTIFY" to give its new IP address, the server don't update the SUBNET and the GW.

mortheres (mortheres)
Changed in ocsinventory-server:
assignee: nobody → mortheres (mortheres)
importance: Undecided → Medium
mortheres (mortheres)
Changed in ocsinventory-server:
status: New → Fix Committed
Revision history for this message
mortheres (mortheres) wrote :

Hi,

Thank you for report and your patch. The fix has been commited at revision : http://bazaar.launchpad.net/~ocsinventory-dev/ocsinventory-server/trunk/revision/611.

However, we do no integrate the get_subnet() function because it is better to send the IPSUBNET directly from the agent instead of compute it at server side. Windows agent has been modified too to send IPSUBNET at revision 200: http://bazaar.launchpad.net/~ocsinventory-dev/ocsinventory-windows-agent/trunk/changes/200?start_revid=200 .

Kind regards,

--
Guillaume

Revision history for this message
mortheres (mortheres) wrote :

Sorry for my mistake because the fix has been integrated at the 612 revision instead of the 611 (as I said in my previous post :) ): http://bazaar.launchpad.net/~ocsinventory-dev/ocsinventory-server/trunk/revision/612

Kind regards,

--
Guillaume

Revision history for this message
Gonéri Le Bouder (goneri) wrote :

Hi Guillaume,

Since there is already large installation of the current agent with the broken UPDATE mechanism, and a new agent is very unlikely to be deployed quickly. I think you should keep the get_subnet() for compatibility.

Best regards

mortheres (mortheres)
Changed in ocsinventory-server:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.