dhcp: Remove left-over comment about "forced" options
For simplicity, we just send all available options, so there's no distinction between forced and requested option anymore. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
a673fdba13
commit
6b1a9f0d34
1 changed files with 1 additions and 2 deletions
3
dhcp.c
3
dhcp.c
|
@ -28,7 +28,6 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct opt - DHCP option
|
* struct opt - DHCP option
|
||||||
* @force: Force sending, even if the client didn't request it
|
|
||||||
* @sent: Convenience flag, set while filling replies
|
* @sent: Convenience flag, set while filling replies
|
||||||
* @slen: Length of option defined for server
|
* @slen: Length of option defined for server
|
||||||
* @s: Option payload from server
|
* @s: Option payload from server
|
||||||
|
@ -118,7 +117,7 @@ static void fill_one(struct msg *m, int o, int *offset)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* fill() - Fill requested and forced options in message
|
* fill() - Fill options in message
|
||||||
* @m: Message to fill
|
* @m: Message to fill
|
||||||
*
|
*
|
||||||
* Return: current size of options field
|
* Return: current size of options field
|
||||||
|
|
Loading…
Reference in a new issue