This is definately the case in bgpd - and I suspect in others.


I'm happy to help with a patch too if you can point me in the right place - while I am goofd with c - I'm still working my way round the codebase here ...


Anyway I had a instance where one of our routers had filled it's hard disk (bad) and I went to the bgp cli and ran wr to write the config ... and I saw no error. However I am left with a 0 byte config file...


It seems there was not a check the write completed. In the ideal world quagga should write the config to a temporary file check it wrote OK then copy to the live file...


Happy to look at this change as needed


Richard

Richard Palmer | Director | Merula Limited
Company Registered in England and Wales No. 3243995
5 Avro Court, Huntingdon, Cambridgeshire, PE29 6XS
Phone 01480 222940 | Support 0845 330 0666
Support Email [email protected]

_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to