Diff for /embedaddon/mtr/ui/raw.c between versions 1.1 and 1.1.1.2

version 1.1, 2019/10/21 14:25:31 version 1.1.1.2, 2021/03/17 00:07:30
Line 13 Line 13
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.      GNU General Public License for more details.
   
    You should have received a copy of the GNU General Public License    You should have received a copy of the GNU General Public License along
    along with this program; if not, write to the Free Software    with this program; if not, write to the Free Software Foundation, Inc.,
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */  */
   
 #include "config.h"  #include "config.h"
Line 64  void raw_rawping( Line 64  void raw_rawping(
     fflush(stdout);      fflush(stdout);
 }  }
   
   
 void raw_rawhost(  void raw_rawhost(
     struct mtr_ctl *ctl,      struct mtr_ctl *ctl,
     int host,      int host,
    ip_t * ip_addr)    ip_t *ip_addr,
     struct mplslen *mpls)
 {  {
     printf("h %d %s\n", host, strlongip(ctl, ip_addr));      printf("h %d %s\n", host, strlongip(ctl, ip_addr));
       if (ctl->enablempls) {
           int k;
           for (k = 0; k < mpls->labels; k++)
               printf("m %d %lu %u %u %u\n",
                      host, mpls->label[k], mpls->tc[k], mpls->s[k], mpls->ttl[k]);
       }
   
     fflush(stdout);      fflush(stdout);
 }  }

Removed from v.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>