chore(striker-ui): identify missing handler for netmask error
This commit is contained in:
parent
9ba920867c
commit
126b9b33e3
@ -681,6 +681,7 @@ const NetworkInitForm = forwardRef<
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
subnet = new Netmask(`${ip}/${mask}`);
|
subnet = new Netmask(`${ip}/${mask}`);
|
||||||
|
// TODO: find a way to express the netmask creation error
|
||||||
// eslint-disable-next-line no-empty
|
// eslint-disable-next-line no-empty
|
||||||
} catch (netmaskError) {}
|
} catch (netmaskError) {}
|
||||||
|
|
||||||
@ -702,6 +703,7 @@ const NetworkInitForm = forwardRef<
|
|||||||
|
|
||||||
isMatch = match(otherSubnet, { b: subnet, bIP: ip });
|
isMatch = match(otherSubnet, { b: subnet, bIP: ip });
|
||||||
|
|
||||||
|
// TODO: find a way to express the netmask creation error
|
||||||
// eslint-disable-next-line no-empty
|
// eslint-disable-next-line no-empty
|
||||||
} catch (netmaskError) {}
|
} catch (netmaskError) {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user