summaryrefslogtreecommitdiff
path: root/zebra/rtread_getmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/rtread_getmsg.c')
-rw-r--r--zebra/rtread_getmsg.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/zebra/rtread_getmsg.c b/zebra/rtread_getmsg.c
index c6eee75174..1fb2984ddf 100644
--- a/zebra/rtread_getmsg.c
+++ b/zebra/rtread_getmsg.c
@@ -14,10 +14,9 @@
* 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 GNU Zebra; see the file COPYING. If not, write to the Free
- * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; see the file COPYING; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <zebra.h>
@@ -31,6 +30,10 @@
#include "zebra/rib.h"
#include "zebra/zserv.h"
+/* Thank you, Solaris, for polluting application symbol namespace. */
+#undef hook_register
+#undef hook_unregister
+
#include <sys/stream.h>
#include <sys/tihdr.h>
@@ -94,7 +97,7 @@ handle_route_entry (mib2_ipRouteEntry_t *routeEntry)
ggateway = (union g_addr *)&gateway;
rib_add (AFI_IP, SAFI_UNICAST, VRF_DEFAULT, ZEBRA_ROUTE_KERNEL, 0,
- zebra_flags, &prefix, ggateway, NULL, 0, 0, 0, 0, 0);
+ zebra_flags, &prefix, NULL, ggateway, NULL, 0, 0, 0, 0, 0);
}
void