aboutsummaryrefslogtreecommitdiffstats
path: root/src/ipcalc.c
diff options
context:
space:
mode:
authorPreston Brown <pbrown@redhat.com>2001-05-02 18:50:02 +0000
committerPreston Brown <pbrown@redhat.com>2001-05-02 18:50:02 +0000
commitfea1fc7c432d8c1d756faf32664e98a2372f34e7 (patch)
tree01d0ae09b160dbe1c2c8adfa1cf3e82de24abd9a /src/ipcalc.c
parentb20432c17a8222e709c2ceefdbc98565b88ba464 (diff)
downloadinitscripts-fea1fc7c432d8c1d756faf32664e98a2372f34e7.tar
initscripts-fea1fc7c432d8c1d756faf32664e98a2372f34e7.tar.gz
initscripts-fea1fc7c432d8c1d756faf32664e98a2372f34e7.tar.bz2
initscripts-fea1fc7c432d8c1d756faf32664e98a2372f34e7.tar.xz
initscripts-fea1fc7c432d8c1d756faf32664e98a2372f34e7.zip
simple fix for -p
Diffstat (limited to 'src/ipcalc.c')
-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) {