Deleted Added
full compact
print-dhcp6.c (313537) print-dhcp6.c (327234)
1/*
2 * Copyright (C) 1998 and 1999 WIDE Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 504 unchanged lines hidden (view full) ---

513 */
514 tp = (const u_char *)(dh6o + 1);
515 ND_PRINT((ndo, " "));
516 for (i = 0; i < optlen && i < 10; i++)
517 ND_PRINT((ndo, "%02x", tp[i]));
518 ND_PRINT((ndo, "...)"));
519 break;
520 case DH6OPT_RECONF_MSG:
1/*
2 * Copyright (C) 1998 and 1999 WIDE Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 504 unchanged lines hidden (view full) ---

513 */
514 tp = (const u_char *)(dh6o + 1);
515 ND_PRINT((ndo, " "));
516 for (i = 0; i < optlen && i < 10; i++)
517 ND_PRINT((ndo, "%02x", tp[i]));
518 ND_PRINT((ndo, "...)"));
519 break;
520 case DH6OPT_RECONF_MSG:
521 if (optlen != 1) {
522 ND_PRINT((ndo, " ?)"));
523 break;
524 }
521 tp = (const u_char *)(dh6o + 1);
522 switch (*tp) {
523 case DH6_RENEW:
524 ND_PRINT((ndo, " for renew)"));
525 break;
526 case DH6_INFORM_REQ:
527 ND_PRINT((ndo, " for inf-req)"));
528 break;

--- 300 unchanged lines hidden ---
525 tp = (const u_char *)(dh6o + 1);
526 switch (*tp) {
527 case DH6_RENEW:
528 ND_PRINT((ndo, " for renew)"));
529 break;
530 case DH6_INFORM_REQ:
531 ND_PRINT((ndo, " for inf-req)"));
532 break;

--- 300 unchanged lines hidden ---