mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
fix: avoid generation of unvalid JSON in summary
This can happen when there are no available shared networks. A division by zero throws 'nan', which is non JSON-valid unless it's surrounded by double quotes.
This commit is contained in:
parent
5ed6e7688f
commit
7fc13c60e0
2 changed files with 9 additions and 2 deletions
1
THANKS
1
THANKS
|
|
@ -51,3 +51,4 @@ Mathieu Morier
|
|||
Jean Benoit
|
||||
Belkacem Daheb
|
||||
Björn Lässig
|
||||
Luisδμ
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue