Convert network mask to string.

Change-Id: I3bed61682385cc31df194d551847225f6c43b3a7