|
|
| version 1.1.1.2, 2021/03/17 00:07:30 | version 1.1.1.3, 2023/09/27 11:18:58 |
|---|---|
| Line 5 | Line 5 |
| raw.c -- raw output (for logging for later analysis) | raw.c -- raw output (for logging for later analysis) |
| This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify |
| it under the terms of the GNU General Public License version 2 as | it under the terms of the GNU General Public License version 2 as |
| published by the Free Software Foundation. | published by the Free Software Foundation. |
| This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, |
| Line 70 void raw_rawhost( | Line 70 void raw_rawhost( |
| ip_t *ip_addr, | ip_t *ip_addr, |
| struct mplslen *mpls) | struct mplslen *mpls) |
| { | { |
| printf("h %d %s\n", host, strlongip(ctl, ip_addr)); | printf("h %d %s\n", host, strlongip(ctl->af, ip_addr)); |
| if (ctl->enablempls) { | if (ctl->enablempls) { |
| int k; | int k; |
| for (k = 0; k < mpls->labels; k++) | for (k = 0; k < mpls->labels; k++) |