I’m wondering why the dog attacked the little boy. Had he been provoked? There may be a history here.
The dog loses every time in these circumstances and sort of attack on a child.