mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-01 05:38:04 +02:00
ndisc: fix code format
Fixes:d775c3d256('ndisc: honor default route parameters from RA route options') (cherry picked from commit7185b0eebf)
This commit is contained in:
parent
35d326324b
commit
4a1b44646a
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ receive_ra(struct ndp *ndp, struct ndp_msg *msg, gpointer user_data)
|
|||
* SHOULD NOT appear on the default router list.
|
||||
*
|
||||
* We handle that by tracking a gateway that expires right now. */
|
||||
gateway = (NMNDiscGateway) {
|
||||
gateway = (NMNDiscGateway){
|
||||
.address = gateway_addr,
|
||||
.expiry_msec = _nm_ndisc_lifetime_to_expiry(now_msec, ndp_msgra_router_lifetime(msgra)),
|
||||
.preference = _route_preference_coerce(ndp_msgra_route_preference(msgra)),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue