nmstate 2.2.38

Library for networking management in a declarative manner
Documentation
1
2
3
4
5
6
7
8
9
10
// SPDX-License-Identifier: Apache-2.0

use crate::IpsecInterface;

impl IpsecInterface {
    pub(crate) fn update_ipsec(&mut self, other: &Self) {
        // Always override
        self.libreswan.clone_from(&other.libreswan);
    }
}