Mercurial > hg > waaad
changeset 281:23fa3d8e5cef
Fix a rule definition
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Fri, 19 Dec 2008 15:52:25 +0900 |
parents | 957b07a2c684 |
children | 7dd2124f7633 |
files | extensions/app_test/app_test.c extensions/app_test/atst_dict.c |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/extensions/app_test/app_test.c Fri Dec 19 15:33:30 2008 +0900 +++ b/extensions/app_test/app_test.c Fri Dec 19 15:52:25 2008 +0900 @@ -57,7 +57,7 @@ atst_conf->mode = MODE_SERV | MODE_CLI; atst_conf->dest_realm = strdup(g_pconf->diameter_realm); atst_conf->dest_host = NULL; - atst_conf->signal = SIGUSR1; + atst_conf->signal = 10; /* SIGUSR1 */ return 0; }
--- a/extensions/app_test/atst_dict.c Fri Dec 19 15:33:30 2008 +0900 +++ b/extensions/app_test/atst_dict.c Fri Dec 19 15:52:25 2008 +0900 @@ -148,6 +148,7 @@ /* And Destination-Host optional for requests only */ data.rule_position = RULE_OPTIONAL; + data.rule_min = 0; data.rule_avp = dest_host; CHECK(dict_new( DICT_RULE, &data, cmd_r, NULL));