Page MenuHomeVyOS Platform

ip-prefix
No OneTemporary

Size
129 B
Referenced Files
None
Subscribers
None

ip-prefix

#!/bin/sh
ipaddrcheck --is-any-net $1
if [ $? -gt 0 ]; then
echo "Error: $1 is not a valid IP prefix"
exit 1
fi
exit 0

File Metadata

Mime Type
text/x-shellscript
Expires
Wed, Dec 17, 12:35 AM (6 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3092314
Default Alt Text
ip-prefix (129 B)

Event Timeline