shell: Restricts network bond input to 4 digits

Fixes: #843