Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sachinites opened this issue Aug 17, 2019 · 1 comment
Open

Comments

@sachinites
Copy link

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
Copy link
Owner

Ok will do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants