Print this page
5218 posix definition of NULL
correct unistd.h and iso/stddef_iso.h
update gate source affected
*** 730,740 ****
{SADB_X_IDENTTYPE_ADDR_RANGE, "ipv4-range"},
{SADB_X_IDENTTYPE_ADDR_RANGE, "ipv6-range"},
{SADB_X_IDENTTYPE_ADDR_RANGE, "rangev4"},
{SADB_X_IDENTTYPE_ADDR_RANGE, "rangev6"},
{SADB_X_IDENTTYPE_KEY_ID, "keyid"},
! {NULL, 0}
};
static int
parse_idtype(char *type, uint16_t *idnum)
{
--- 730,740 ----
{SADB_X_IDENTTYPE_ADDR_RANGE, "ipv4-range"},
{SADB_X_IDENTTYPE_ADDR_RANGE, "ipv6-range"},
{SADB_X_IDENTTYPE_ADDR_RANGE, "rangev4"},
{SADB_X_IDENTTYPE_ADDR_RANGE, "rangev6"},
{SADB_X_IDENTTYPE_KEY_ID, "keyid"},
! {0, NULL}
};
static int
parse_idtype(char *type, uint16_t *idnum)
{
*** 898,908 ****
{PSFLD_LOCIDTYPE, "localidtype"},
{PSFLD_REMID, "remoteid"},
{PSFLD_REMIDTYPE, "remoteidtype"},
{PSFLD_MODE, "ike_mode"},
{PSFLD_KEY, "key"},
! {NULL, 0}
};
static int
parse_psfldid(char *type, uint16_t *idnum)
{
--- 898,908 ----
{PSFLD_LOCIDTYPE, "localidtype"},
{PSFLD_REMID, "remoteid"},
{PSFLD_REMIDTYPE, "remoteidtype"},
{PSFLD_MODE, "ike_mode"},
{PSFLD_KEY, "key"},
! {0, NULL}
};
static int
parse_psfldid(char *type, uint16_t *idnum)
{
*** 924,934 ****
static keywdtab_t ikemodes[] = {
{IKE_XCHG_IDENTITY_PROTECT, "main"},
{IKE_XCHG_AGGRESSIVE, "aggressive"},
{IKE_XCHG_IP_AND_AGGR, "both"},
! {NULL, 0}
};
static int
parse_ikmtype(char *mode, uint16_t *modenum)
{
--- 924,934 ----
static keywdtab_t ikemodes[] = {
{IKE_XCHG_IDENTITY_PROTECT, "main"},
{IKE_XCHG_AGGRESSIVE, "aggressive"},
{IKE_XCHG_IP_AND_AGGR, "both"},
! {0, NULL}
};
static int
parse_ikmtype(char *mode, uint16_t *modenum)
{
*** 3343,3353 ****
case IKE_SVC_DUMP_GROUPS:
case IKE_SVC_DUMP_ENCRALGS:
case IKE_SVC_DUMP_AUTHALGS:
case IKE_SVC_DUMP_PS:
case IKE_SVC_DUMP_CERTCACHE:
! if (argc != NULL) {
print_dump_help();
break;
}
do_dump(cmd);
break;
--- 3343,3353 ----
case IKE_SVC_DUMP_GROUPS:
case IKE_SVC_DUMP_ENCRALGS:
case IKE_SVC_DUMP_AUTHALGS:
case IKE_SVC_DUMP_PS:
case IKE_SVC_DUMP_CERTCACHE:
! if (argc != 0) {
print_dump_help();
break;
}
do_dump(cmd);
break;