aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ipcalc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcalc.c b/src/ipcalc.c
index 29d18a67..7abe0e5c 100644
--- a/src/ipcalc.c
+++ b/src/ipcalc.c
@@ -255,7 +255,7 @@ int main(int argc, const char **argv) {
}
}
- if (showBroadcast || showNetwork) {
+ if (showBroadcast || showNetwork || showPrefix) {
if (!(netmaskStr = (char *) poptGetArg(optCon)) &&
(prefix == 0)) {
if (!beSilent) {