summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--app/page.tsx2
2 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 637c7e0..73952a7 100644
--- a/README.md
+++ b/README.md
@@ -6,9 +6,10 @@
## Dev
-Run the development server:
+Install dependencies and run the development server:
```bash
+$ npm install
$ npm run dev
```
diff --git a/app/page.tsx b/app/page.tsx
index 0c8eaa0..b6afc38 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -123,7 +123,7 @@ export default function Cidr() {
const details = {
"Netmask": netmask.mask,
"CIDR Base IP": netmask.base,
- "Broadcast IP": netmask.broadcast,
+ "Broadcast IP": netmask.broadcast || "None",
"Count": netmask.size.toLocaleString(),
"First Usable IP": netmask.first,
"Last Usable IP": netmask.last