Completely harmless but probably slightly venomous, but its has no fangs maybe harmful to frogs.
Attacking snakes is a very dangerous habit for a dog to have, next time it might be a brown snake and then you will have a dead dog aswell as a dead snake.