mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 02:37:21 +00:00
2004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
* ipforward_solaris.c: fix typo of ND variable.
This commit is contained in:
parent
44145db3ae
commit
66e9488cae
@ -11,7 +11,8 @@
|
|||||||
* mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
|
* mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
|
||||||
* rt_netlink.c: (netlink_interface) set mtu6 to mtu
|
* rt_netlink.c: (netlink_interface) set mtu6 to mtu
|
||||||
(netlink_link_change) ditto
|
(netlink_link_change) ditto
|
||||||
|
* ipforward_solaris.c: fix typo of ND variable.
|
||||||
|
|
||||||
2004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
|
2004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
|
||||||
|
|
||||||
* zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
|
* zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed
|
||||||
|
@ -61,12 +61,13 @@ solaris_nd(const int cmd, const char* parameter, const int value)
|
|||||||
** buy a NULL. ND_GET returns a list in a similar layout, although
|
** buy a NULL. ND_GET returns a list in a similar layout, although
|
||||||
** here we only use the first result.
|
** here we only use the first result.
|
||||||
*/
|
*/
|
||||||
if (cmd == ND_SET) {
|
if (cmd == ND_SET)
|
||||||
snprintf(nd_buf, ND_BUFFER_SIZE, "%s%c%d%c", parameter, '\0', value,'\0');
|
snprintf(nd_buf, ND_BUFFER_SIZE, "%s%c%d%c", parameter, '\0', value,'\0');
|
||||||
} else if (cmd == ND_GET) {
|
else if (cmd == ND_GET)
|
||||||
snprintf(nd_buf, ND_BUFFER_SIZE, "%s", parameter);
|
snprintf(nd_buf, ND_BUFFER_SIZE, "%s", parameter);
|
||||||
} else {
|
else {
|
||||||
zlog_err("internal error - inappropriate command given to solaris_nd()%s:%d", __FILE__, __LINE__);
|
zlog_err("internal error - inappropriate command given to "
|
||||||
|
"solaris_nd()%s:%d", __FILE__, __LINE__);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -144,7 +145,7 @@ ipforward_off ()
|
|||||||
#ifdef HAVE_IPV6
|
#ifdef HAVE_IPV6
|
||||||
int ipforward_ipv6()
|
int ipforward_ipv6()
|
||||||
{
|
{
|
||||||
return solaris_nd_get("ip6_fowarding");
|
return solaris_nd_get("ip6_forwarding");
|
||||||
}
|
}
|
||||||
int
|
int
|
||||||
ipforward_ipv6_on ()
|
ipforward_ipv6_on ()
|
||||||
|
Loading…
Reference in New Issue
Block a user