network: Fix warnings setting mnemonics

Introduced in b5d03b42a043ab81c46b0f22fe14fa51893e86bf