NetworkManager/src/backends/NetworkManagerFrugalware.c
Jiří Klimeš 96378dfa82 backends: add a function reading systemwide IPv6 Privacy Extensions configuration
It is distro-specific, but mostly it's net.ipv6.conf.default.use_tempaddr
in /etc/sysctl.conf
2012-02-27 16:28:41 +01:00

43 lines
1.3 KiB
C

/* NetworkManager -- Network link manager
*
* Implementation for the Frugalware Linux distro - http://www.frugalware.org
*
* Alex Smith <alex.extreme2@gmail.com>
*
* Based on NetworkManagerSlackware.c by Narayan Newton <narayan_newton@yahoo.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* (C) Copyright 2006 Alex Smith
*/
/* Provided by the frugalwareutils package on Frugalware */
#include <libfwnetconfig.h>
void nm_backend_enable_loopback (void)
{
fwnet_loup ();
}
void nm_backend_update_dns (void)
{
/* I'm not running nscd */
}
int nm_backend_ipv6_use_tempaddr (void)
{
return nm_generic_ipv6_use_tempaddr ();
}