Project

General

Profile

Actions

Bug #1022

closed

ipadm can't set broadcast property

Added by Nick Zivkovic almost 12 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
lib - userland libraries
Start date:
2011-05-11
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

ipadm can get the value for the broadcast property but trying to set the property via
ipadm set-addrprop -p broadcast=<addr> <addrobj>

fails with:
ipadm: set-addrprop: broadcast: Operation not supported

Broadcast address should be tunable.

As far as a fix goes, one needs to add a callback into the property table (ipadm_addrprop_table[]) in libipadm (ipadm_addr.c).

Actions #1

Updated by Dan McDonald almost 12 years ago

You can update the netmask or prefix-length with ipadm(1M), correct? The broadcast address falls out of the address + prefix, so it's not necessary to SET the broadcast, but GETting it is helpful from an observability point-of-view.

I'm not sure if this is a real bug or not.

Actions #2

Updated by Nick Zivkovic almost 12 years ago

  • % Done changed from 0 to 100

Ok. Dan makes a very good point. Setting the broadcast is unnecessary, as it's derived from the netmask and prefix.

Marking this as 100% complete.

Actions #3

Updated by Yuri Pankov about 10 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF