From ad23f749bec698d45bf3fc607913a65d28ae7f21 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Sat, 21 Sep 2024 13:33:30 +0200 Subject: Cleaner title --- app/page.tsx | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index c16b26a..c6af996 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -23,30 +23,10 @@ export default function Cidr() { setIp(newIp); } - // const handleChange(event) { - // var octets = this.state.octets; - // var val = +event.target.value.replace(/[^0-9]/g, ''); - // var octet = event.target.attributes['data-octet'].value; - // if (octet == 'cidr') { - // if (val <= 32) { - // this.setState({ - // cidr: val - // }); - // } - // } else { - // if (val <= 255) { - // octets[+octet] = val; - // this.setState({ - // octets: octets - // }); - // } - // } - // } - return (
CIDR is a notation for describing blocks of IP addresses and is used heavily in various networking configurations. IP addresses contain 4 -- cgit v1.3.1