Browse code

cnxcc: fix example code in doc file adding the new parameter [skip ci]

Jose Luis Verdeguer authored on 09/01/2019 13:05:21
Showing 1 changed files
... ...
@@ -519,12 +519,14 @@ route[CNXCC]
519 519
 {
520 520
 	$var(client)              = "test-client";
521 521
 	$var(credit)              = "50";
522
+	$var(connect_cost)        = "3.0";
522 523
 	$var(cost_per_sec)        = "0.5";
523 524
 	$var(i_pulse)             = 30;
524 525
 	$var(f_pulse)             = 6;
525 526
 
526 527
 	if (!cnxcc_set_max_credit("$var(client)",
527 528
 			"$var(credit)",
529
+			"$var(connect_cost)",
528 530
 			"$var(cost_per_sec)",
529 531
 			"$var(i_pulse)",
530 532
 			"$var(f_pulse)")) {