summaryrefslogtreecommitdiff
path: root/src/migration-scripts/interfaces/6-to-7
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2020-07-19 21:21:52 +0200
committerJernej Jakob <jernej.jakob@gmail.com>2020-07-19 21:21:52 +0200
commitfabd8b4bbb150b237121cd3eeffa8026903a159e (patch)
treede5763bb2d447bec5bfe542c52b3ae06cd53339c /src/migration-scripts/interfaces/6-to-7
parentdadb09fd14046720e7898c3cbad8c5def408db9d (diff)
downloadvyos-1x-fabd8b4bbb150b237121cd3eeffa8026903a159e.tar.gz
vyos-1x-fabd8b4bbb150b237121cd3eeffa8026903a159e.zip
interface: T2519: add broadcast address when adding IPv4 addresses
This adds the last IP of the subnet being added as the broadcast address. Example: adding 192.0.2.1/24 would yield: inet 192.0.2.1/24 brd 192.0.2.255 scope global dum0 Without this the broadcast address would be missing. Addidionally join two is_ipv4 calls into one.
Diffstat (limited to 'src/migration-scripts/interfaces/6-to-7')
0 files changed, 0 insertions, 0 deletions