[Xorp-hackers] gre tunnel problem
Zealot
zealot0630 at gmail.com
Wed Feb 20 08:51:37 PST 2008
Hi, all:
Xorp seems can not get ip address from p2p interface. There is a patch to fix this.
It may cause some other problem, but at least it works
--- xorp-1.5~cvs.20080128.orig/fea/data_plane/ifconfig/ifconfig_parse_netlink_socket.cc
+++ xorp-1.5~cvs.20080128/fea/data_plane/ifconfig/ifconfig_parse_netlink_socket.cc
@@ -688,7 +688,7 @@
if (vifp->point_to_point()) {
if ((rta_array[IFA_ADDRESS] != NULL) && !is_ifa_address_reassigned) {
if (rta_array[IFA_ADDRESS] != NULL) {
- if (nlm_decode_ipvx_address(family, rta_array[IFA_BROADCAST],
+ if (nlm_decode_ipvx_address(family, rta_array[IFA_ADDRESS],
peer_addr, has_peer_addr,
error_msg)
!= XORP_OK) {
More information about the Xorp-hackers
mailing list