1
0
mirror of https://passt.top/passt synced 2024-06-30 23:12:39 +00:00

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:
Stefano Brivio 2021-03-26 12:19:56 +01:00
parent a673fdba13
commit 6b1a9f0d34

3
dhcp.c
View File

@ -28,7 +28,6 @@
/**
* struct opt - DHCP option
* @force: Force sending, even if the client didn't request it
* @sent: Convenience flag, set while filling replies
* @slen: Length of option defined for 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
*
* Return: current size of options field