TheGreenHacker / IPC

13 stars 32 forks source link

Improvements - Dont print all entries whenever I CREATE a new entry #1

Open sachinites opened 5 years ago

sachinites commented 5 years ago

I see, the below output :

CREATE 10.1.3.1 24 192.168.0.2 eth0/2 Manager has some changes to make Destination IP: 10.1.3.1 Mask: 24 Gateway IP: 192.168.0.2 OIF: eth0/2 Destination IP: 10.1.2.1 Mask: 24 Gateway IP: 192.168.0.1 OIF: eth0/1 Destination IP: 10.1.1.1 Mask: 24 Gateway IP: 192.168.0.1 OIF: eth0/1

Do not print all the existing entries of the routing table on Server whenever I add one more entry. Print more helpful msg like :

Entry Added Successfully. Entry Synchronized to all connected clients.

Similarly, print more meaning ful msg on client side, something like : Added : Destination IP: 10.1.3.1 Mask: 24 Gateway IP: 192.168.0.2 OIF: eth0/2 Updated : Destination IP: 10.1.3.1 Mask: 24 Gateway IP: 192.168.0.2 OIF: eth0/2 Deleted : Destination IP: 10.1.3.1 Mask: 24

whenever client recvs sync from RTM.

TheGreenHacker commented 5 years ago

Ok will do.