VPP-686: create bridge-domain

- update default flags
- add missing flag learn

Change-Id: I50a1a001848769836468838775b59d3414d27710
Signed-off-by: Choonho Son <choonho.son@gmail.com>
diff --git a/src/vnet/l2/l2_bd.c b/src/vnet/l2/l2_bd.c
index a222fec..9d7a43d 100644
--- a/src/vnet/l2/l2_bd.c
+++ b/src/vnet/l2/l2_bd.c
@@ -1138,7 +1138,7 @@
 
 /**
    Create or delete bridge-domain.
-   The CLI format is:
+   The CLI format:
    create bridge-domain <bd_index> [learn <0|1>] [forward <0|1>] [uu-flood <0|1>]
                                    [flood <0|1>] [arp-term <0|1>] [mac-age <nn>] [del]
 */
@@ -1151,7 +1151,7 @@
   clib_error_t *error = 0;
   u8 is_add = 1;
   u32 bd_id = ~0;
-  u32 flood = 1, forward = 1, learn = 1, uu_flood = 0, arp_term = 0;
+  u32 flood = 1, forward = 1, learn = 1, uu_flood = 1, arp_term = 0;
   u32 mac_age = 0;
   l2_bridge_domain_add_del_args_t _a, *a = &_a;
   int rv;
@@ -1170,6 +1170,8 @@
 	;
       else if (unformat (line_input, "forward %d", &forward))
 	;
+      else if (unformat (line_input, "learn %d", &learn))
+	;
       else if (unformat (line_input, "arp-term %d", &arp_term))
 	;
       else if (unformat (line_input, "mac-age %d", &mac_age))