diff options
Diffstat (limited to 'isisd/isis_zebra.c')
| -rw-r--r-- | isisd/isis_zebra.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/isisd/isis_zebra.c b/isisd/isis_zebra.c index e7bd99c3e8..4dd7ec5c3e 100644 --- a/isisd/isis_zebra.c +++ b/isisd/isis_zebra.c @@ -15,10 +15,10 @@ * 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., - * 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> @@ -300,8 +300,9 @@ isis_zebra_route_add_ipv4 (struct prefix *prefix, /* FIXME: can it be ? */ if (nexthop->ip.s_addr != INADDR_ANY) { - stream_putc (stream, NEXTHOP_TYPE_IPV4); + stream_putc (stream, NEXTHOP_TYPE_IPV4_IFINDEX); stream_put_in_addr (stream, &nexthop->ip); + stream_putl (stream, nexthop->ifindex); } else { |
