summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/showconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/showconf.c')
-rw-r--r--src/tools/showconf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/showconf.c b/src/tools/showconf.c
index d2f36e0..585b08d 100644
--- a/src/tools/showconf.c
+++ b/src/tools/showconf.c
@@ -44,7 +44,9 @@ int showconf_main(int argc, char *argv[])
printf("[Interface]\n");
if (device->port)
- printf("ListenPort = %d\n", device->port);
+ printf("ListenPort = %u\n", device->port);
+ if (device->fwmark)
+ printf("FwMark = 0x%x\n", device->fwmark);
if (memcmp(device->private_key, zero, WG_KEY_LEN)) {
b64_ntop(device->private_key, WG_KEY_LEN, b64, b64_len(WG_KEY_LEN));
printf("PrivateKey = %s\n", b64);