151 |
$self->{control}{mtu} = $self->{ifcfg}{MTU}; |
$self->{control}{mtu} = $self->{ifcfg}{MTU}; |
152 |
$self->{control}{accounting} = $self->{ifcfg}{ACCOUNTING}; |
$self->{control}{accounting} = $self->{ifcfg}{ACCOUNTING}; |
153 |
$self->{control}{nm_controlled} = $self->{ifcfg}{NM_CONTROLLED}; |
$self->{control}{nm_controlled} = $self->{ifcfg}{NM_CONTROLLED}; |
154 |
|
$self->{control}{uuid} = $self->{ifcfg}{UUID}; |
155 |
|
$self->{control}{name} = $self->{ifcfg}{NAME}; |
156 |
|
$self->{control}{last_connect} = $self->{ifcfg}{LAST_CONNECT}; |
157 |
} |
} |
158 |
|
|
159 |
#- override to return 1 if the connection network scan is slow |
#- override to return 1 if the connection network scan is slow |
264 |
USERCTL => bool2yesno($self->{control}{userctl}), |
USERCTL => bool2yesno($self->{control}{userctl}), |
265 |
METRIC => $self->{control}{metric}, |
METRIC => $self->{control}{metric}, |
266 |
MTU => $self->{control}{mtu}, |
MTU => $self->{control}{mtu}, |
267 |
|
UUID => $self->{control}{uuid}, |
268 |
|
NAME => $self->{control}{name}, |
269 |
|
LAST_CONNECT => $self->{control}{last_connect}, |
270 |
VPN_TYPE => defined $self->{control}{vpn} && $self->{control}{vpn}->get_type, |
VPN_TYPE => defined $self->{control}{vpn} && $self->{control}{vpn}->get_type, |
271 |
VPN_NAME => defined $self->{control}{vpn} && $self->{control}{vpn}->get_name, |
VPN_NAME => defined $self->{control}{vpn} && $self->{control}{vpn}->get_name, |
272 |
#- FIXME: add MS_DNSx variables if DNS servers are specified |
#- FIXME: add MS_DNSx variables if DNS servers are specified |